Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 84.34 kB / 20.95 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 169.3 kB / 24.26 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.528/1.528, allocations: 177.2 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.37e-06/5.37e-06, allocations: 3.984 kB / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.971e-05/3.508e-05, allocations: 10.31 kB / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01389/0.01393, allocations: 8.371 MB / 280.7 MB, free: 9.395 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007992/0.02192, allocations: 2.886 MB / 283.6 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001671/0.02359, allocations: 59.62 kB / 283.7 MB, free: 6.441 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00241/0.026, allocations: 0.6286 MB / 284.3 MB, free: 5.809 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003352/0.02935, allocations: 0.8577 MB / 285.1 MB, free: 4.945 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.03055, allocations: 371.3 kB / 285.5 MB, free: 4.582 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004833/0.03538, allocations: 2.754 MB / 288.3 MB, free: 1.816 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002496/0.03788, allocations: 1.128 MB / 289.4 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1356/0.1734, allocations: 1.773 MB / 291.2 MB, free: 16.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003686/0.1771, allocations: 1.321 MB / 292.5 MB, free: 16.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001427/0.1786, allocations: 310.7 kB / 292.8 MB, free: 16.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002185/0.1807, allocations: 408.1 kB / 293.2 MB, free: 16.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001811/0.1825, allocations: 0.9244 MB / 294.1 MB, free: 16.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003843/0.1864, allocations: 0.9686 MB / 295.1 MB, free: 16.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007125/0.1935, allocations: 4.17 MB / 299.2 MB, free: 16.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.1935, allocations: 4.031 kB / 299.2 MB, free: 16.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1935, allocations: 0 / 299.2 MB, free: 16.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001422/0.1937, allocations: 1.875 kB / 299.3 MB, free: 16.14 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.008382/0.2021, allocations: 2.832 MB / 302.1 MB, free: 14.67 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.2021, allocations: 8.125 kB / 302.1 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001715/0.2038, allocations: 0.4916 MB / 302.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002883/0.2067, allocations: 1.543 MB / 304.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.2068, allocations: 154.2 kB / 304.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000342/0.2072, allocations: 202.8 kB / 304.5 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004472/0.2116, allocations: 2.836 MB / 307.3 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.386e-05/0.2117, allocations: 11.36 kB / 307.3 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001941/0.2119, allocations: 90.48 kB / 307.4 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001014/0.212, allocations: 95.25 kB / 307.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003396/0.2154, allocations: 2.329 MB / 309.8 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01054/0.2259, allocations: 7.354 MB / 317.2 MB, free: 3.543 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.2275, allocations: 1.25 MB / 318.4 MB, free: 2.305 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/0.2291, allocations: 1.003 MB / 319.4 MB, free: 1.301 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002002/0.2293, allocations: 52.97 kB / 319.5 MB, free: 1.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.2293, allocations: 48.38 kB / 319.5 MB, free: 1.195 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 2.766e-06/0.2293, allocations: 0 / 319.5 MB, free: 1.195 MB / 266.7 MB Notification: Performance of matching and sorting (n=120): time 0.01574/0.245, allocations: 5.955 MB / 325.5 MB, free: 11.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.981e-05/0.2451, allocations: 71.45 kB / 325.6 MB, free: 11.15 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002943/0.248, allocations: 1.401 MB / 327 MB, free: 9.734 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001575/0.2482, allocations: 45.7 kB / 327 MB, free: 9.684 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001061/0.2493, allocations: 1.024 MB / 328 MB, free: 8.656 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004978/0.2498, allocations: 435.8 kB / 328.5 MB, free: 8.238 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005025/0.2503, allocations: 251.5 kB / 328.7 MB, free: 7.984 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002499/0.2505, allocations: 361.9 kB / 329.1 MB, free: 7.625 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/0.2519, allocations: 0.73 MB / 329.8 MB, free: 6.895 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/0.2536, allocations: 1.059 MB / 330.8 MB, free: 5.711 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0031/0.2567, allocations: 1.868 MB / 332.7 MB, free: 3.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/0.2567, allocations: 4 kB / 332.7 MB, free: 3.746 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005197/0.2619, allocations: 2.399 MB / 335.1 MB, free: 1.395 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.2619, allocations: 12 kB / 335.1 MB, free: 1.383 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.599e-05/0.262, allocations: 14.88 kB / 335.1 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00128/0.2632, allocations: 446.8 kB / 335.6 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.2646, allocations: 329.4 kB / 335.9 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006606/0.2712, allocations: 4.79 MB / 340.7 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/0.2728, allocations: 87.86 kB / 340.8 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/0.2729, allocations: 56 kB / 340.8 MB, free: 11.51 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001751/0.2746, allocations: 0.7095 MB / 341.5 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005676/0.2752, allocations: 203 kB / 341.7 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004246/0.2795, allocations: 2.127 MB / 343.9 MB, free: 8.477 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.2795, allocations: 15.44 kB / 343.9 MB, free: 8.465 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.2795, allocations: 4 kB / 343.9 MB, free: 8.461 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-05/0.2795, allocations: 11.95 kB / 343.9 MB, free: 8.449 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008905/0.2884, allocations: 4.044 MB / 347.9 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.2884, allocations: 8.031 kB / 347.9 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.2894, allocations: 217.9 kB / 348.2 MB, free: 4.164 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001476/0.2909, allocations: 495.6 kB / 348.6 MB, free: 3.676 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.291, allocations: 35.97 kB / 348.7 MB, free: 3.641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008324/0.2993, allocations: 6.278 MB / 355 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.2993, allocations: 4.031 kB / 355 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006266/0.3056, allocations: 3.207 MB / 358.2 MB, free: 9.824 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/0.3068, allocations: 314.9 kB / 358.5 MB, free: 9.516 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002247/0.307, allocations: 31.98 kB / 358.5 MB, free: 9.484 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008785/0.3079, allocations: 75.92 kB / 358.6 MB, free: 9.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003426/0.3082, allocations: 112.4 kB / 358.7 MB, free: 9.301 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.723e-05/0.3083, allocations: 35.98 kB / 358.7 MB, free: 9.266 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00171/0.31, allocations: 0.947 MB / 359.7 MB, free: 8.316 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.31, allocations: 0 / 359.7 MB, free: 8.316 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001782/0.3118, allocations: 463.9 kB / 360.1 MB, free: 7.863 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004368/0.3122, allocations: 190.1 kB / 360.3 MB, free: 7.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004316/0.3165, allocations: 2.053 MB / 362.4 MB, free: 5.637 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.3165, allocations: 0 / 362.4 MB, free: 5.637 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002541/0.3191, allocations: 1.367 MB / 363.7 MB, free: 4.258 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002291/0.3214, allocations: 397.8 kB / 364.1 MB, free: 3.887 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009024/0.3304, allocations: 4.438 MB / 368.6 MB, free: 15.38 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001962/0.3324, allocations: 1.245 MB / 369.8 MB, free: 14.09 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001481/0.3338, allocations: 384.5 kB / 370.2 MB, free: 13.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003962/0.3342, allocations: 108.5 kB / 370.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of SimCode: time 1.613e-06/0.3342, allocations: 0 / 370.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of Templates: time 0.04908/0.3833, allocations: 24.67 MB / 395 MB, free: 5.352 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.631131330970675]