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.00192/0.00192, allocations: 92.27 kB / 20.96 MB, free: 3.441 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.002402/0.002402, allocations: 160.9 kB / 24.26 MB, free: 144 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 1.497/1.497, allocations: 177 MB / 204.4 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.1.|toSpacePhasor.y.2.|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.1.|toSpacePhasor.y.2.|hallSensor.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.748e-05, allocations: 6.312 kB / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01154/0.01157, allocations: 8.098 MB / 280.3 MB, free: 9.648 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006278/0.01785, allocations: 2.987 MB / 283.3 MB, free: 6.648 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007503/0.0186, allocations: 55.62 kB / 283.3 MB, free: 6.594 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001693/0.02029, allocations: 0.6561 MB / 284 MB, free: 5.934 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001996/0.02229, allocations: 0.7878 MB / 284.8 MB, free: 5.141 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006794/0.02296, allocations: 327.3 kB / 285.1 MB, free: 4.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002905/0.02587, allocations: 2.217 MB / 287.3 MB, free: 2.594 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001345/0.02721, allocations: 0.7934 MB / 288.1 MB, free: 1.746 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002294/0.02951, allocations: 1.384 MB / 289.5 MB, free: 368 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1237/0.1532, allocations: 0.971 MB / 290.5 MB, free: 16.83 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00053/0.1537, allocations: 232 kB / 290.7 MB, free: 16.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009081/0.1546, allocations: 326.7 kB / 291 MB, free: 16.83 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006725/0.1553, allocations: 0.7131 MB / 291.7 MB, free: 16.83 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009273/0.1562, allocations: 0.7496 MB / 292.5 MB, free: 16.83 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003975/0.1602, allocations: 3.17 MB / 295.6 MB, free: 16.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1602, allocations: 1.531 kB / 295.6 MB, free: 16.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1602, allocations: 0 / 295.6 MB, free: 16.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.506e-05/0.1603, allocations: 0.6875 kB / 295.7 MB, free: 16.68 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.004552/0.1648, allocations: 2.258 MB / 297.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.1649, allocations: 13.67 kB / 297.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009366/0.1658, allocations: 381.9 kB / 298.3 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002092/0.1679, allocations: 1.214 MB / 299.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.102e-05/0.168, allocations: 112.2 kB / 299.6 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002429/0.1682, allocations: 167.6 kB / 299.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003182/0.1714, allocations: 2.106 MB / 301.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.842e-05/0.1715, allocations: 6.641 kB / 301.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001464/0.1716, allocations: 68.91 kB / 302 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.193e-05/0.1717, allocations: 75.75 kB / 302 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002477/0.1742, allocations: 1.679 MB / 303.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008543/0.1827, allocations: 6.299 MB / 310 MB, free: 8.883 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.1838, allocations: 451.4 kB / 310.5 MB, free: 8.664 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005841/0.1844, allocations: 260.8 kB / 310.7 MB, free: 8.543 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002458/0.1847, allocations: 46.77 kB / 310.8 MB, free: 8.531 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.1847, allocations: 42.06 kB / 310.8 MB, free: 8.484 MB / 266.7 MB Notification: Performance of pre-optimization done (n=48): time 3.847e-06/0.1847, allocations: 4 kB / 310.8 MB, free: 8.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.009509/0.1942, allocations: 2.919 MB / 313.7 MB, free: 6.645 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.1942, allocations: 56.06 kB / 313.8 MB, free: 6.578 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00281/0.1971, allocations: 1.551 MB / 315.3 MB, free: 5.016 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.475e-05/0.1971, allocations: 37.7 kB / 315.4 MB, free: 4.973 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006864/0.1978, allocations: 1.06 MB / 316.4 MB, free: 3.914 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/0.198, allocations: 247.2 kB / 316.7 MB, free: 3.676 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005504/0.1986, allocations: 311.4 kB / 317 MB, free: 3.363 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.065e-05/0.1986, allocations: 313.1 kB / 317.3 MB, free: 3.055 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/0.1999, allocations: 0.527 MB / 317.8 MB, free: 2.527 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001726/0.2016, allocations: 1.446 MB / 319.2 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004372/0.206, allocations: 2.135 MB / 321.4 MB, free: 14.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.562e-05/0.206, allocations: 8.875 kB / 321.4 MB, free: 14.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.006997/0.213, allocations: 2.247 MB / 323.6 MB, free: 12.12 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.706e-05/0.213, allocations: 20.22 kB / 323.7 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.962e-05/0.2131, allocations: 39.98 kB / 323.7 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009675/0.2141, allocations: 222.4 kB / 323.9 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002046/0.2161, allocations: 397.7 kB / 324.3 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003109/0.2192, allocations: 1.721 MB / 326 MB, free: 9.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002656/0.2219, allocations: 148.2 kB / 326.2 MB, free: 9.535 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00026/0.2222, allocations: 99.56 kB / 326.3 MB, free: 9.441 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.0018/0.224, allocations: 0.5865 MB / 326.9 MB, free: 8.875 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006155/0.2246, allocations: 167.1 kB / 327 MB, free: 8.711 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003339/0.2279, allocations: 1.08 MB / 328.1 MB, free: 7.613 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.2279, allocations: 15.17 kB / 328.1 MB, free: 7.602 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.2279, allocations: 2.938 kB / 328.1 MB, free: 7.602 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.2279, allocations: 3.984 kB / 328.1 MB, free: 7.598 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007962/0.2359, allocations: 2.4 MB / 330.5 MB, free: 5.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.2359, allocations: 0 / 330.5 MB, free: 5.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007496/0.2367, allocations: 119.5 kB / 330.6 MB, free: 5.047 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007283/0.2374, allocations: 165.8 kB / 330.8 MB, free: 4.879 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.126e-05/0.2375, allocations: 12 kB / 330.8 MB, free: 4.867 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002681/0.2401, allocations: 1.661 MB / 332.5 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.2401, allocations: 4.031 kB / 332.5 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004556/0.2447, allocations: 1.649 MB / 334.1 MB, free: 1.434 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/0.2458, allocations: 215 kB / 334.3 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00027/0.2461, allocations: 12 kB / 334.3 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.2471, allocations: 59.88 kB / 334.4 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002117/0.2473, allocations: 51.69 kB / 334.5 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.325e-05/0.2474, allocations: 20.06 kB / 334.5 MB, free: 1.086 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.002481/0.2499, allocations: 0.9778 MB / 335.4 MB, free: 112 kB / 282.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2499, allocations: 0 / 335.4 MB, free: 112 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.002514/0.2524, allocations: 360.2 kB / 335.8 MB, free: 15.75 MB / 298.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.0003512/0.2527, allocations: 170.2 kB / 336 MB, free: 15.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003484/0.2562, allocations: 1.425 MB / 337.4 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.2562, allocations: 0 / 337.4 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001448/0.2577, allocations: 0.5735 MB / 338 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/0.2595, allocations: 373.4 kB / 338.3 MB, free: 13.31 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005672/0.2652, allocations: 2.992 MB / 341.3 MB, free: 10.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/0.2664, allocations: 0.8781 MB / 342.2 MB, free: 9.348 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.001029/0.2674, allocations: 341 kB / 342.5 MB, free: 9.008 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002883/0.2677, allocations: 108.5 kB / 342.6 MB, free: 8.902 MB / 298.7 MB Notification: Performance of SimCode: time 1.684e-06/0.2677, allocations: 0 / 342.6 MB, free: 8.902 MB / 298.7 MB Notification: Performance of Templates: time 0.03839/0.3061, allocations: 18.82 MB / 361.5 MB, free: 6.441 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.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.013655163929798]