Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_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.001142/0.001142, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.00145/0.00145, allocations: 162.9 kB / 24.99 MB, free: 9.273 MB / 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.011/1.011, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 273.1 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.409e-05/1.543e-05, allocations: 2.312 kB / 273.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01629/0.01631, allocations: 11.67 MB / 284.7 MB, free: 6.113 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005788/0.02209, allocations: 3.92 MB / 288.7 MB, free: 2.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007988/0.02289, allocations: 79.5 kB / 288.7 MB, free: 2.102 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001347/0.02424, allocations: 0.8544 MB / 289.6 MB, free: 1.238 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00155/0.02579, allocations: 1.071 MB / 290.7 MB, free: 164 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1157/0.1415, allocations: 0.5284 MB / 291.2 MB, free: 16.03 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004186/0.1457, allocations: 3.577 MB / 294.8 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002031/0.1477, allocations: 1.491 MB / 296.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003163/0.1509, allocations: 2.33 MB / 298.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002431/0.1533, allocations: 1.817 MB / 300.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009014/0.1542, allocations: 409.3 kB / 300.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.1554, allocations: 0.6247 MB / 301.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008562/0.1563, allocations: 1.206 MB / 302.6 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001843/0.1581, allocations: 1.285 MB / 303.9 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003113/0.1612, allocations: 3.057 MB / 307 MB, free: 11.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1612, allocations: 0 / 307 MB, free: 11.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1612, allocations: 3 kB / 307 MB, free: 11.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001202/0.1613, allocations: 0.625 kB / 307 MB, free: 11.75 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.004747/0.1661, allocations: 3.907 MB / 310.9 MB, free: 9.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.1661, allocations: 10.88 kB / 310.9 MB, free: 9.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.1672, allocations: 0.6868 MB / 311.6 MB, free: 9.008 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/0.169, allocations: 1.809 MB / 313.4 MB, free: 7.406 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.44e-05/0.1691, allocations: 203.2 kB / 313.6 MB, free: 7.207 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002039/0.1693, allocations: 277.9 kB / 313.9 MB, free: 6.941 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002474/0.1717, allocations: 2.201 MB / 316.1 MB, free: 4.625 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.62e-05/0.1718, allocations: 4 kB / 316.1 MB, free: 4.621 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001517/0.1719, allocations: 115.3 kB / 316.2 MB, free: 4.512 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-05/0.172, allocations: 128.9 kB / 316.3 MB, free: 4.387 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/0.1739, allocations: 0.9947 MB / 317.3 MB, free: 3.383 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009203/0.1831, allocations: 9.194 MB / 326.5 MB, free: 10.12 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.1842, allocations: 0.8336 MB / 327.3 MB, free: 9.305 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007729/0.185, allocations: 0.5521 MB / 327.9 MB, free: 8.758 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001738/0.1852, allocations: 58.12 kB / 327.9 MB, free: 8.703 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.1852, allocations: 55.72 kB / 328 MB, free: 8.641 MB / 282.7 MB Notification: Performance of pre-optimization done (n=131): time 3.136e-06/0.1852, allocations: 0 / 328 MB, free: 8.641 MB / 282.7 MB Notification: Performance of matching and sorting (n=148): time 0.006077/0.1913, allocations: 3.765 MB / 331.8 MB, free: 4.887 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.1913, allocations: 64.72 kB / 331.8 MB, free: 4.809 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/0.1928, allocations: 1.599 MB / 333.4 MB, free: 3.199 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.907e-05/0.1929, allocations: 49.7 kB / 333.5 MB, free: 3.145 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006797/0.1936, allocations: 1.442 MB / 334.9 MB, free: 1.691 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000302/0.1939, allocations: 0.5353 MB / 335.4 MB, free: 1.164 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003347/0.1942, allocations: 337.1 kB / 335.8 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1943, allocations: 484.7 kB / 336.3 MB, free: 356 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004716/0.1948, allocations: 275.8 kB / 336.5 MB, free: 80 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00079/0.1956, allocations: 0.9637 MB / 337.5 MB, free: 14.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/0.1969, allocations: 1.386 MB / 338.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.1969, allocations: 8 kB / 338.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002235/0.1992, allocations: 1.633 MB / 340.5 MB, free: 11.69 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.1992, allocations: 14.34 kB / 340.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.1992, allocations: 16 kB / 340.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000767/0.2, allocations: 314.1 kB / 340.8 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008336/0.2008, allocations: 419 kB / 341.3 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003288/0.2041, allocations: 5.106 MB / 346.4 MB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.2051, allocations: 123.3 kB / 346.5 MB, free: 5.539 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.2052, allocations: 75.98 kB / 346.6 MB, free: 5.465 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006503/0.2059, allocations: 268.6 kB / 346.8 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003264/0.2062, allocations: 254.7 kB / 347.1 MB, free: 4.965 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001895/0.2081, allocations: 1.295 MB / 348.4 MB, free: 3.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-05/0.2081, allocations: 23.92 kB / 348.4 MB, free: 3.637 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.2081, allocations: 4 kB / 348.4 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.2081, allocations: 3.984 kB / 348.4 MB, free: 3.629 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006011/0.2141, allocations: 3.635 MB / 352 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.2141, allocations: 4 kB / 352 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008596/0.215, allocations: 270.6 kB / 352.3 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001097/0.2161, allocations: 365.8 kB / 352.7 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/0.2162, allocations: 39.98 kB / 352.7 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005085/0.2213, allocations: 6.908 MB / 359.6 MB, free: 8.047 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.2213, allocations: 7.375 kB / 359.6 MB, free: 8.043 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003313/0.2246, allocations: 1.889 MB / 361.5 MB, free: 6.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008447/0.2254, allocations: 374.4 kB / 361.9 MB, free: 5.723 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002382/0.2257, allocations: 35.98 kB / 361.9 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007698/0.2265, allocations: 87.91 kB / 362 MB, free: 5.602 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002772/0.2267, allocations: 124.4 kB / 362.1 MB, free: 5.484 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-05/0.2268, allocations: 47.98 kB / 362.2 MB, free: 5.438 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001391/0.2282, allocations: 0.93 MB / 363.1 MB, free: 4.516 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2282, allocations: 4 kB / 363.1 MB, free: 4.512 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00186/0.2301, allocations: 0.582 MB / 363.7 MB, free: 3.93 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,16,100.0%), (1,6,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.0004317/0.2305, allocations: 220.1 kB / 363.9 MB, free: 3.723 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002728/0.2332, allocations: 1.528 MB / 365.4 MB, free: 2.211 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.2332, allocations: 4 kB / 365.4 MB, free: 2.207 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001624/0.2349, allocations: 1.212 MB / 366.6 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/0.2368, allocations: 452.6 kB / 367.1 MB, free: 0.543 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008722/0.2455, allocations: 4.812 MB / 371.9 MB, free: 11.64 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008238/0.2463, allocations: 0.7127 MB / 372.6 MB, free: 10.9 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001172/0.2475, allocations: 359.5 kB / 372.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004094/0.2479, allocations: 136.4 kB / 373.1 MB, free: 10.41 MB / 330.7 MB Notification: Performance of SimCode: time 1.613e-06/0.2479, allocations: 0 / 373.1 MB, free: 10.41 MB / 330.7 MB Notification: Performance of Templates: time 0.04113/0.289, allocations: 29.73 MB / 402.8 MB, free: 13.13 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.904537086840719]