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.001449/0.001449, allocations: 81.86 kB / 21.42 MB, free: 3.078 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.0017/0.0017, allocations: 169.1 kB / 24.82 MB, free: 8.867 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 0.9479/0.9479, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.092e-06/1.092e-06, allocations: 0 / 273.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.215e-05/1.325e-05, allocations: 2.312 kB / 273.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01697/0.01698, allocations: 11.4 MB / 284.8 MB, free: 5.805 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005028/0.02201, allocations: 3.901 MB / 288.7 MB, free: 1.891 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009134/0.02292, allocations: 79.5 kB / 288.8 MB, free: 1.812 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001677/0.0246, allocations: 0.8583 MB / 289.6 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1048/0.1294, allocations: 1.07 MB / 290.7 MB, free: 16.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.1311, allocations: 0.54 MB / 291.3 MB, free: 16.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003331/0.1344, allocations: 3.576 MB / 294.8 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001712/0.1361, allocations: 1.489 MB / 296.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002766/0.1389, allocations: 2.572 MB / 298.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001965/0.1409, allocations: 1.733 MB / 300.6 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006728/0.1415, allocations: 398.1 kB / 301 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009034/0.1424, allocations: 0.6149 MB / 301.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006566/0.1431, allocations: 1.159 MB / 302.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00131/0.1444, allocations: 1.252 MB / 304 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002208/0.1466, allocations: 3.004 MB / 307 MB, free: 11.81 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1466, allocations: 0 / 307 MB, free: 11.81 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1466, allocations: 3.219 kB / 307 MB, free: 11.81 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001066/0.1467, allocations: 0 / 307 MB, free: 11.81 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.003253/0.15, allocations: 3.748 MB / 310.8 MB, free: 9.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.605e-05/0.15, allocations: 17.97 kB / 310.8 MB, free: 9.473 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009263/0.1509, allocations: 0.6889 MB / 311.5 MB, free: 9.113 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.1523, allocations: 1.724 MB / 313.2 MB, free: 7.441 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-05/0.1523, allocations: 204.6 kB / 313.4 MB, free: 7.242 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/0.1525, allocations: 267.8 kB / 313.7 MB, free: 6.984 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.1542, allocations: 2.028 MB / 315.7 MB, free: 4.949 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.925e-05/0.1542, allocations: 11 kB / 315.7 MB, free: 4.941 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.1544, allocations: 115.1 kB / 315.8 MB, free: 4.832 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.317e-05/0.1544, allocations: 117.3 kB / 316 MB, free: 4.715 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009047/0.1553, allocations: 0.7848 MB / 316.7 MB, free: 3.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00723/0.1625, allocations: 8.953 MB / 325.7 MB, free: 11.28 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008957/0.1634, allocations: 0.8016 MB / 326.5 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006775/0.1641, allocations: 0.5001 MB / 327 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001336/0.1643, allocations: 54.78 kB / 327 MB, free: 9.988 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.1643, allocations: 50.7 kB / 327.1 MB, free: 9.93 MB / 282.7 MB Notification: Performance of pre-optimization done (n=131): time 2.405e-06/0.1643, allocations: 0 / 327.1 MB, free: 9.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=148): time 0.005171/0.1695, allocations: 2.97 MB / 330.1 MB, free: 6.992 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.1695, allocations: 64.72 kB / 330.1 MB, free: 6.914 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.1706, allocations: 1.541 MB / 331.7 MB, free: 5.605 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.507e-05/0.1707, allocations: 53.7 kB / 331.7 MB, free: 5.547 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006877/0.1714, allocations: 1.451 MB / 333.2 MB, free: 4.156 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000285/0.1717, allocations: 0.5393 MB / 333.7 MB, free: 3.648 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003212/0.172, allocations: 341.4 kB / 334 MB, free: 3.344 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.959e-05/0.1721, allocations: 485.7 kB / 334.5 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000287/0.1724, allocations: 207.8 kB / 334.7 MB, free: 2.664 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008345/0.1732, allocations: 0.9026 MB / 335.6 MB, free: 1.531 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009877/0.1742, allocations: 1.27 MB / 336.9 MB, free: 84 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/0.1742, allocations: 4 kB / 336.9 MB, free: 80 kB / 282.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00171/0.1759, allocations: 1.487 MB / 338.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.1759, allocations: 14.19 kB / 338.4 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.1759, allocations: 12 kB / 338.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009402/0.1769, allocations: 304.7 kB / 338.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.178, allocations: 379.2 kB / 339.1 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003172/0.1812, allocations: 4.954 MB / 344 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005726/0.1818, allocations: 71.92 kB / 344.1 MB, free: 8.844 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.213e-05/0.1819, allocations: 56 kB / 344.2 MB, free: 8.789 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.0004261/0.1823, allocations: 261 kB / 344.4 MB, free: 8.547 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000258/0.1825, allocations: 261.8 kB / 344.7 MB, free: 8.293 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/0.1839, allocations: 1.166 MB / 345.8 MB, free: 7.121 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/0.1839, allocations: 16 kB / 345.9 MB, free: 7.105 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1839, allocations: 4 kB / 345.9 MB, free: 7.102 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.1839, allocations: 7.969 kB / 345.9 MB, free: 7.094 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003713/0.1876, allocations: 3.441 MB / 349.3 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.1876, allocations: 4 kB / 349.3 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005374/0.1882, allocations: 247.5 kB / 349.5 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007249/0.1889, allocations: 338.4 kB / 349.9 MB, free: 3.387 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.776e-05/0.189, allocations: 39.98 kB / 349.9 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003269/0.1922, allocations: 6.663 MB / 356.6 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.1922, allocations: 7.562 kB / 356.6 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.194, allocations: 1.697 MB / 358.3 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004035/0.1944, allocations: 329.7 kB / 358.6 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.1946, allocations: 35.98 kB / 358.6 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004382/0.195, allocations: 55.97 kB / 358.7 MB, free: 10.28 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.1952, allocations: 120.5 kB / 358.8 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.487e-05/0.1952, allocations: 35.98 kB / 358.9 MB, free: 10.13 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006291/0.1958, allocations: 0.8428 MB / 359.7 MB, free: 9.367 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1958, allocations: 0 / 359.7 MB, free: 9.367 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001089/0.1969, allocations: 0.5741 MB / 360.3 MB, free: 8.793 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002898/0.1972, allocations: 219.2 kB / 360.5 MB, free: 8.586 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.1986, allocations: 1.405 MB / 361.9 MB, free: 7.223 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1986, allocations: 0 / 361.9 MB, free: 7.223 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000913/0.1995, allocations: 1.118 MB / 363 MB, free: 6.098 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.2006, allocations: 449.9 kB / 363.4 MB, free: 5.676 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005156/0.2057, allocations: 4.752 MB / 368.2 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005404/0.2063, allocations: 0.701 MB / 368.9 MB, free: 136 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005532/0.2068, allocations: 247.8 kB / 369.1 MB, free: 15.89 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007456/0.2076, allocations: 0.5057 MB / 369.6 MB, free: 15.38 MB / 330.7 MB Notification: Performance of SimCode: time 7.21e-07/0.2076, allocations: 4 kB / 369.6 MB, free: 15.38 MB / 330.7 MB Notification: Performance of Templates: time 0.03816/0.2457, allocations: 30.54 MB / 400.2 MB, free: 1.367 MB / 346.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.725626999977976]