Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001002/0.001002, allocations: 87.67 kB / 21.19 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00167/0.00167, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9744/0.9744, allocations: 177 MB / 204.8 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3200,variableFilter="time|toSpacePhasor.y.[0-9,]+.|hallSensor.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3200,variableFilter="time|toSpacePhasor.y.[0-9,]+.|hallSensor.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 3.938 kB / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.035e-05/3.206e-05, allocations: 5.266 kB / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01373/0.01377, allocations: 9.092 MB / 282 MB, free: 8.297 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007118/0.02088, allocations: 3.12 MB / 285.1 MB, free: 5.164 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.02193, allocations: 55.69 kB / 285.2 MB, free: 5.109 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001784/0.02371, allocations: 0.6637 MB / 285.9 MB, free: 4.441 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002283/0.02599, allocations: 0.7878 MB / 286.6 MB, free: 3.648 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007225/0.02671, allocations: 323.3 kB / 287 MB, free: 3.332 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002541/0.02925, allocations: 2.221 MB / 289.2 MB, free: 1.102 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00131/0.03057, allocations: 0.809 MB / 290 MB, free: 244 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1262/0.1568, allocations: 1.386 MB / 291.4 MB, free: 16.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00172/0.1585, allocations: 1.043 MB / 292.4 MB, free: 16.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005626/0.1591, allocations: 232.6 kB / 292.6 MB, free: 16.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006667/0.1597, allocations: 329.5 kB / 293 MB, free: 16.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000618/0.1604, allocations: 0.7262 MB / 293.7 MB, free: 16.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001194/0.1616, allocations: 0.7534 MB / 294.4 MB, free: 16.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002366/0.1639, allocations: 1.737 MB / 296.2 MB, free: 16.31 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.1639, allocations: 0 / 296.2 MB, free: 16.31 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1639, allocations: 0.75 kB / 296.2 MB, free: 16.31 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.296e-05/0.164, allocations: 1.344 kB / 296.2 MB, free: 16.31 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: 404 * Number of variables: 404 Notification: Performance of Generate backend data structure: time 0.004027/0.168, allocations: 2.423 MB / 298.6 MB, free: 15.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.1681, allocations: 14.11 kB / 298.6 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008261/0.1689, allocations: 379.2 kB / 299 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001693/0.1706, allocations: 1.142 MB / 300.1 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.808e-05/0.1707, allocations: 119 kB / 300.3 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/0.1709, allocations: 159 kB / 300.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/0.1728, allocations: 1.294 MB / 301.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.518e-05/0.1729, allocations: 15.42 kB / 301.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.173, allocations: 67.36 kB / 301.8 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.104e-05/0.173, allocations: 79.61 kB / 301.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.1743, allocations: 0.5917 MB / 302.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006051/0.1803, allocations: 6.302 MB / 308.8 MB, free: 9.688 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004356/0.1808, allocations: 236.3 kB / 309 MB, free: 9.609 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.1809, allocations: 116.1 kB / 309.1 MB, free: 9.578 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001491/0.1811, allocations: 37.09 kB / 309.1 MB, free: 9.578 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.1811, allocations: 45.02 kB / 309.2 MB, free: 9.527 MB / 266.7 MB Notification: Performance of pre-optimization done (n=48): time 2.375e-06/0.1811, allocations: 2.594 kB / 309.2 MB, free: 9.527 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.002788/0.1839, allocations: 1.793 MB / 311 MB, free: 8.645 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.1839, allocations: 65.91 kB / 311 MB, free: 8.578 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.1852, allocations: 1.427 MB / 312.5 MB, free: 7.727 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.1853, allocations: 33.7 kB / 312.5 MB, free: 7.688 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000425/0.1857, allocations: 1.156 MB / 313.7 MB, free: 6.676 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.1858, allocations: 250.5 kB / 313.9 MB, free: 6.469 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002566/0.1861, allocations: 331.8 kB / 314.2 MB, free: 6.258 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.381e-05/0.1861, allocations: 480.7 kB / 314.7 MB, free: 5.785 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002941/0.1864, allocations: 182.9 kB / 314.9 MB, free: 5.723 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000597/0.187, allocations: 1.546 MB / 316.4 MB, free: 3.566 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.1883, allocations: 1.901 MB / 318.3 MB, free: 1.176 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.316e-05/0.1883, allocations: 12 kB / 318.3 MB, free: 1.164 MB / 266.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.001725/0.19, allocations: 1.503 MB / 319.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/0.1901, allocations: 20 kB / 319.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.723e-05/0.1901, allocations: 32 kB / 319.9 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003718/0.1904, allocations: 143 kB / 320 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000731/0.1912, allocations: 387 kB / 320.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.1923, allocations: 1.927 MB / 322.3 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008184/0.1932, allocations: 139.6 kB / 322.5 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.282e-05/0.1933, allocations: 96 kB / 322.6 MB, free: 13.05 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004509/0.1937, allocations: 285.9 kB / 322.8 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/0.1939, allocations: 175 kB / 323 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008279/0.1947, allocations: 0.5949 MB / 323.6 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.1947, allocations: 8 kB / 323.6 MB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1947, allocations: 0 / 323.6 MB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.1947, allocations: 4 kB / 323.6 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00252/0.1973, allocations: 1.999 MB / 325.6 MB, free: 9.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.1973, allocations: 4.031 kB / 325.6 MB, free: 9.926 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002697/0.1975, allocations: 118.6 kB / 325.7 MB, free: 9.816 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002269/0.1978, allocations: 90.95 kB / 325.8 MB, free: 9.715 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.966e-05/0.1978, allocations: 16 kB / 325.8 MB, free: 9.699 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001006/0.1988, allocations: 1.867 MB / 327.7 MB, free: 7.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1988, allocations: 0 / 327.7 MB, free: 7.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.2, allocations: 0.9116 MB / 328.6 MB, free: 6.77 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003379/0.2003, allocations: 207 kB / 328.8 MB, free: 6.566 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.868e-05/0.2004, allocations: 12 kB / 328.8 MB, free: 6.555 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003195/0.2007, allocations: 57.64 kB / 328.9 MB, free: 6.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.2008, allocations: 44.41 kB / 328.9 MB, free: 6.457 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.2008, allocations: 20 kB / 329 MB, free: 6.438 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000802/0.2016, allocations: 0.7664 MB / 329.7 MB, free: 5.676 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2016, allocations: 0 / 329.7 MB, free: 5.676 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001112/0.2028, allocations: 363.9 kB / 330.1 MB, free: 5.32 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 1 system {(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.000276/0.203, allocations: 167.2 kB / 330.2 MB, free: 5.152 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001367/0.2044, allocations: 1.023 MB / 331.3 MB, free: 4.203 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2044, allocations: 0 / 331.3 MB, free: 4.203 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005484/0.2049, allocations: 475 kB / 331.7 MB, free: 3.723 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009767/0.2059, allocations: 366.2 kB / 332.1 MB, free: 3.391 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003758/0.2097, allocations: 2.597 MB / 334.7 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.21, allocations: 402.4 kB / 335.1 MB, free: 328 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006694/0.2106, allocations: 348.9 kB / 335.4 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/0.2108, allocations: 104.4 kB / 335.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of SimCode: time 1.784e-06/0.2108, allocations: 0.5625 kB / 335.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of Templates: time 0.02424/0.2351, allocations: 18.66 MB / 354.2 MB, free: 13.57 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.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.361362162977457]