Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.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.001911/0.001911, allocations: 87.67 kB / 20.96 MB, free: 3.441 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.002033/0.002033, allocations: 165.3 kB / 24.27 MB, free: 132 kB / 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.537/1.537, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3200,variableFilter="time|toSpacePhasor.y.1.|toSpacePhasor.y.2.|hallSensor.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.64e-05/2.818e-05, allocations: 6.312 kB / 272.3 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01304/0.01307, allocations: 8.999 MB / 281.3 MB, free: 8.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006211/0.01928, allocations: 3.1 MB / 284.4 MB, free: 5.637 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008806/0.02016, allocations: 55.62 kB / 284.5 MB, free: 5.582 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001737/0.0219, allocations: 0.6599 MB / 285.1 MB, free: 4.918 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001994/0.02389, allocations: 0.7878 MB / 285.9 MB, free: 4.125 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006846/0.02458, allocations: 319.4 kB / 286.2 MB, free: 3.812 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002888/0.02747, allocations: 2.232 MB / 288.5 MB, free: 1.574 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.02878, allocations: 0.7934 MB / 289.3 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1101/0.1388, allocations: 1.388 MB / 290.7 MB, free: 16.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001646/0.1405, allocations: 1.046 MB / 291.7 MB, free: 16.51 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003614/0.1408, allocations: 232.9 kB / 291.9 MB, free: 16.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006658/0.1415, allocations: 328.7 kB / 292.3 MB, free: 16.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006341/0.1421, allocations: 0.7173 MB / 293 MB, free: 16.51 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008304/0.143, allocations: 0.7585 MB / 293.7 MB, free: 16.51 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003184/0.1462, allocations: 3.181 MB / 296.9 MB, free: 16.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1462, allocations: 0.9688 kB / 296.9 MB, free: 16.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1462, allocations: 2.188 kB / 296.9 MB, free: 16.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.291e-05/0.1462, allocations: 0 / 296.9 MB, free: 16.36 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.004395/0.1506, allocations: 2.606 MB / 299.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.1506, allocations: 12.97 kB / 299.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008622/0.1515, allocations: 373.8 kB / 299.9 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001921/0.1534, allocations: 1.16 MB / 301.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.073e-05/0.1535, allocations: 116.3 kB / 301.2 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002314/0.1537, allocations: 158.8 kB / 301.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002763/0.1565, allocations: 1.932 MB / 303.3 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.101e-05/0.1566, allocations: 14.17 kB / 303.3 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/0.1567, allocations: 68.41 kB / 303.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.202e-05/0.1568, allocations: 81.53 kB / 303.4 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.1589, allocations: 1.206 MB / 304.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008396/0.1673, allocations: 8.597 MB / 313.2 MB, free: 6.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005728/0.1679, allocations: 296.2 kB / 313.5 MB, free: 6.703 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.1681, allocations: 145.1 kB / 313.6 MB, free: 6.559 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001678/0.1683, allocations: 40.22 kB / 313.7 MB, free: 6.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.1683, allocations: 45.83 kB / 313.7 MB, free: 6.465 MB / 266.7 MB Notification: Performance of pre-optimization done (n=48): time 2.215e-06/0.1683, allocations: 0 / 313.7 MB, free: 6.465 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.004171/0.1725, allocations: 1.958 MB / 315.7 MB, free: 4.492 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.012e-05/0.1725, allocations: 56.06 kB / 315.7 MB, free: 4.426 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001774/0.1743, allocations: 1.933 MB / 317.7 MB, free: 2.465 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.048e-05/0.1743, allocations: 37.7 kB / 317.7 MB, free: 2.422 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000517/0.1748, allocations: 1.233 MB / 318.9 MB, free: 1.188 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.175, allocations: 261.8 kB / 319.2 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003995/0.1754, allocations: 401 kB / 319.6 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.614e-05/0.1754, allocations: 481.9 kB / 320.1 MB, free: 64 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006818/0.1761, allocations: 318.8 kB / 320.4 MB, free: 15.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001979/0.1781, allocations: 1.721 MB / 322.1 MB, free: 13.42 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002971/0.1811, allocations: 2.183 MB / 324.3 MB, free: 10.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.399e-05/0.1811, allocations: 8 kB / 324.3 MB, free: 10.74 MB / 282.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003815/0.1849, allocations: 1.76 MB / 326 MB, free: 9.172 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.91e-05/0.1849, allocations: 20.62 kB / 326.1 MB, free: 9.152 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.997e-05/0.185, allocations: 32 kB / 326.1 MB, free: 9.121 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005225/0.1855, allocations: 141.4 kB / 326.2 MB, free: 8.973 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.1867, allocations: 388.8 kB / 326.6 MB, free: 8.625 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/0.1888, allocations: 1.94 MB / 328.6 MB, free: 6.586 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/0.1906, allocations: 141.2 kB / 328.7 MB, free: 6.449 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000192/0.1908, allocations: 92 kB / 328.8 MB, free: 6.359 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.00102/0.1918, allocations: 0.5134 MB / 329.3 MB, free: 5.867 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004366/0.1922, allocations: 171 kB / 329.5 MB, free: 5.699 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001768/0.194, allocations: 0.677 MB / 330.1 MB, free: 5 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.194, allocations: 4 kB / 330.1 MB, free: 4.996 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.194, allocations: 4 kB / 330.2 MB, free: 4.992 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.194, allocations: 3.984 kB / 330.2 MB, free: 4.988 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005914/0.1999, allocations: 2.479 MB / 332.6 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.1999, allocations: 4 kB / 332.6 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005072/0.2005, allocations: 114.9 kB / 332.7 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004749/0.2009, allocations: 98.95 kB / 332.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.592e-05/0.201, allocations: 12.16 kB / 332.9 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002047/0.203, allocations: 1.884 MB / 334.7 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.313e-06/0.203, allocations: 7.984 kB / 334.7 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002506/0.2055, allocations: 1.056 MB / 335.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007016/0.2062, allocations: 213.9 kB / 336 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/0.2064, allocations: 12 kB / 336 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006516/0.2071, allocations: 51.88 kB / 336.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/0.2072, allocations: 49.95 kB / 336.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.687e-05/0.2073, allocations: 19.98 kB / 336.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0019/0.2092, allocations: 1.036 MB / 337.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2092, allocations: 0 / 337.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001541/0.2107, allocations: 368 kB / 337.5 MB, free: 13.39 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.0003763/0.2111, allocations: 162 kB / 337.7 MB, free: 13.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002682/0.2138, allocations: 1.235 MB / 338.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.2138, allocations: 4 kB / 338.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001301/0.2151, allocations: 0.519 MB / 339.5 MB, free: 11.53 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001831/0.2169, allocations: 367.5 kB / 339.8 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005032/0.2219, allocations: 2.747 MB / 342.6 MB, free: 8.367 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/0.223, allocations: 0.8348 MB / 343.4 MB, free: 7.496 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.001063/0.2241, allocations: 352.9 kB / 343.7 MB, free: 7.145 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002652/0.2243, allocations: 100.5 kB / 343.8 MB, free: 7.047 MB / 298.7 MB Notification: Performance of SimCode: time 1.523e-06/0.2243, allocations: 0 / 343.8 MB, free: 7.047 MB / 298.7 MB Notification: Performance of Templates: time 0.0376/0.2619, allocations: 18.65 MB / 362.5 MB, free: 4.758 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.04859453602694]