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.0009684/0.0009684, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001011/0.001011, allocations: 164 kB / 24.91 MB, free: 8.715 MB / 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.9676/0.9676, allocations: 177 MB / 205.2 MB, free: 5.012 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.282e-06/1.282e-06, allocations: 0 / 273.4 MB, free: 1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.617e-05/1.745e-05, allocations: 5.266 kB / 273.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.008169/0.008186, allocations: 8.909 MB / 282.3 MB, free: 8.039 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005269/0.01346, allocations: 3.208 MB / 285.6 MB, free: 4.816 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006222/0.01408, allocations: 55.62 kB / 285.6 MB, free: 4.762 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001096/0.01517, allocations: 0.6754 MB / 286.3 MB, free: 4.082 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001216/0.01639, allocations: 0.7916 MB / 287.1 MB, free: 3.285 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.01681, allocations: 311.4 kB / 287.4 MB, free: 2.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001526/0.01834, allocations: 2.229 MB / 289.6 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1158/0.1342, allocations: 0.8252 MB / 290.4 MB, free: 16.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002481/0.1367, allocations: 1.528 MB / 292 MB, free: 16.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.138, allocations: 0.9882 MB / 292.9 MB, free: 16.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005124/0.1386, allocations: 225.1 kB / 293.2 MB, free: 16.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007284/0.1393, allocations: 321.2 kB / 293.5 MB, free: 16.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005257/0.1398, allocations: 0.6866 MB / 294.2 MB, free: 16.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001023/0.1408, allocations: 0.7378 MB / 294.9 MB, free: 16.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002121/0.143, allocations: 1.702 MB / 296.6 MB, free: 16.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.143, allocations: 0.9375 kB / 296.6 MB, free: 16.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.143, allocations: 0 / 296.6 MB, free: 16.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.689e-05/0.143, allocations: 1.562 kB / 296.6 MB, free: 16.12 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.003297/0.1463, allocations: 2.097 MB / 298.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.1464, allocations: 13.17 kB / 298.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006496/0.147, allocations: 307.5 kB / 299 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.1481, allocations: 0.8827 MB / 299.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.161e-05/0.1482, allocations: 110.8 kB / 300 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/0.1483, allocations: 162.5 kB / 300.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.1496, allocations: 1.203 MB / 301.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.611e-05/0.1496, allocations: 4.422 kB / 301.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-05/0.1497, allocations: 69.25 kB / 301.4 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.244e-05/0.1498, allocations: 76.64 kB / 301.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007257/0.1505, allocations: 467.6 kB / 302 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003913/0.1544, allocations: 4.99 MB / 307 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.1547, allocations: 256.2 kB / 307.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.868e-05/0.1548, allocations: 89.59 kB / 307.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.679e-05/0.1549, allocations: 34.83 kB / 307.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.1549, allocations: 41.58 kB / 307.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=48): time 1.874e-06/0.1549, allocations: 4 kB / 307.4 MB, free: 11.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.001853/0.1568, allocations: 1.314 MB / 308.7 MB, free: 10.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.659e-05/0.1568, allocations: 58.66 kB / 308.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006817/0.1575, allocations: 1.172 MB / 309.9 MB, free: 10.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.1575, allocations: 36.92 kB / 310 MB, free: 10.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/0.1578, allocations: 0.9245 MB / 310.9 MB, free: 9.508 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.007e-05/0.1579, allocations: 239.8 kB / 311.1 MB, free: 9.316 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/0.1581, allocations: 316.8 kB / 311.4 MB, free: 9.145 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.529e-05/0.1581, allocations: 305.1 kB / 311.7 MB, free: 8.844 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.1583, allocations: 157.7 kB / 311.9 MB, free: 8.805 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/0.1586, allocations: 1.073 MB / 313 MB, free: 7.551 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007568/0.1594, allocations: 1.444 MB / 314.4 MB, free: 6.086 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.1594, allocations: 8 kB / 314.4 MB, free: 6.078 MB / 266.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.001051/0.1604, allocations: 1.171 MB / 315.6 MB, free: 5.102 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.1605, allocations: 20 kB / 315.6 MB, free: 5.082 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.1605, allocations: 32 kB / 315.6 MB, free: 5.051 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001989/0.1607, allocations: 119.4 kB / 315.7 MB, free: 4.926 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005635/0.1612, allocations: 397.6 kB / 316.1 MB, free: 4.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004646/0.1617, allocations: 1.284 MB / 317.4 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005038/0.1622, allocations: 111.7 kB / 317.5 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.976e-05/0.1623, allocations: 83.28 kB / 317.6 MB, free: 3.031 MB / 266.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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002174/0.1625, allocations: 250.7 kB / 317.9 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.1626, allocations: 99.89 kB / 318 MB, free: 2.711 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004728/0.1631, allocations: 486.4 kB / 318.4 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1631, allocations: 8 kB / 318.4 MB, free: 2.211 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.1631, allocations: 3.938 kB / 318.4 MB, free: 2.207 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1631, allocations: 3.984 kB / 318.4 MB, free: 2.203 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/0.1644, allocations: 1.434 MB / 319.9 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.1644, allocations: 3.938 kB / 319.9 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/0.1646, allocations: 110.8 kB / 320 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001887/0.1648, allocations: 134.6 kB / 320.1 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.1648, allocations: 15.94 kB / 320.1 MB, free: 0.582 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005076/0.1654, allocations: 1.231 MB / 321.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1654, allocations: 4 kB / 321.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006597/0.166, allocations: 0.6929 MB / 322.1 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001948/0.1662, allocations: 147 kB / 322.2 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.1663, allocations: 12 kB / 322.2 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004046/0.1667, allocations: 36.03 kB / 322.3 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.1668, allocations: 44.42 kB / 322.3 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.215e-05/0.1669, allocations: 19.98 kB / 322.3 MB, free: 14.3 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006625/0.1675, allocations: 0.5213 MB / 322.8 MB, free: 13.84 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1675, allocations: 0 / 322.8 MB, free: 13.84 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001287/0.1688, allocations: 355.9 kB / 323.2 MB, free: 13.49 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 {(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.0002683/0.1691, allocations: 146.6 kB / 323.3 MB, free: 13.35 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008324/0.1699, allocations: 0.8127 MB / 324.1 MB, free: 12.63 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.346e-05/0.17, allocations: 27.84 kB / 324.2 MB, free: 12.6 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000286/0.1703, allocations: 324.8 kB / 324.5 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007894/0.171, allocations: 359.5 kB / 324.8 MB, free: 11.97 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/0.1739, allocations: 2.554 MB / 327.4 MB, free: 9.371 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.1741, allocations: 354.5 kB / 327.7 MB, free: 8.996 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004367/0.1746, allocations: 205.1 kB / 327.9 MB, free: 8.789 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005121/0.1751, allocations: 373.1 kB / 328.3 MB, free: 8.422 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.1751, allocations: 0 / 328.3 MB, free: 8.422 MB / 282.7 MB Notification: Performance of Templates: time 0.02306/0.1981, allocations: 19.23 MB / 347.5 MB, free: 5.609 MB / 298.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 -s gbode -gbm=radauIIA3 -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.1097572846338153]