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.001451/0.001451, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.00159/0.00159, allocations: 161.7 kB / 24.27 MB, free: 172 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.462/1.462, allocations: 177.1 MB / 204.6 MB, free: 5.609 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 2.705e-06/2.705e-06, allocations: 0 / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.615e-05/3.885e-05, allocations: 2.312 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01251/0.01255, allocations: 8.091 MB / 280.4 MB, free: 9.691 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007729/0.02027, allocations: 2.987 MB / 283.4 MB, free: 6.691 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001725/0.022, allocations: 55.62 kB / 283.5 MB, free: 6.637 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002493/0.02449, allocations: 0.6638 MB / 284.1 MB, free: 5.969 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003197/0.02769, allocations: 0.7839 MB / 284.9 MB, free: 5.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.02873, allocations: 323.4 kB / 285.2 MB, free: 4.863 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003721/0.03245, allocations: 2.22 MB / 287.4 MB, free: 2.637 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001686/0.03413, allocations: 0.7973 MB / 288.2 MB, free: 1.785 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002813/0.03695, allocations: 1.384 MB / 289.6 MB, free: 408 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1242/0.1612, allocations: 0.9706 MB / 290.6 MB, free: 16.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005644/0.1617, allocations: 232.1 kB / 290.8 MB, free: 16.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009494/0.1627, allocations: 329.9 kB / 291.1 MB, free: 16.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007173/0.1634, allocations: 0.7096 MB / 291.9 MB, free: 16.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001018/0.1644, allocations: 0.7504 MB / 292.6 MB, free: 16.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003591/0.168, allocations: 3.164 MB / 295.8 MB, free: 16.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.168, allocations: 3.594 kB / 295.8 MB, free: 16.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.168, allocations: 0.5312 kB / 295.8 MB, free: 16.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.286e-05/0.1681, allocations: 0 / 295.8 MB, free: 16.64 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.004817/0.1729, allocations: 2.264 MB / 298 MB, free: 15.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/0.173, allocations: 12.25 kB / 298 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.1741, allocations: 372 kB / 298.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002093/0.1762, allocations: 1.221 MB / 299.6 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.716e-05/0.1763, allocations: 112.7 kB / 299.7 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002487/0.1765, allocations: 160.7 kB / 299.9 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003292/0.1798, allocations: 2.109 MB / 302 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.865e-05/0.1799, allocations: 6.703 kB / 302 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/0.18, allocations: 65.69 kB / 302.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.03e-05/0.1801, allocations: 78.06 kB / 302.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002483/0.1826, allocations: 1.677 MB / 303.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01064/0.1932, allocations: 6.298 MB / 310.1 MB, free: 8.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.1943, allocations: 453.6 kB / 310.6 MB, free: 8.602 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005786/0.1949, allocations: 261.3 kB / 310.8 MB, free: 8.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002373/0.1952, allocations: 43.09 kB / 310.9 MB, free: 8.469 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.1952, allocations: 41.56 kB / 310.9 MB, free: 8.422 MB / 266.7 MB Notification: Performance of pre-optimization done (n=48): time 4.128e-06/0.1952, allocations: 0 / 310.9 MB, free: 8.422 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.009739/0.2049, allocations: 2.925 MB / 313.8 MB, free: 6.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.205, allocations: 56.06 kB / 313.9 MB, free: 6.523 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002764/0.2077, allocations: 1.551 MB / 315.4 MB, free: 4.961 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.7e-05/0.2078, allocations: 37.7 kB / 315.5 MB, free: 4.918 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007369/0.2085, allocations: 1.06 MB / 316.5 MB, free: 3.859 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002042/0.2087, allocations: 247.2 kB / 316.8 MB, free: 3.621 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005466/0.2093, allocations: 315.3 kB / 317.1 MB, free: 3.305 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.28e-05/0.2093, allocations: 309.1 kB / 317.4 MB, free: 3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.2105, allocations: 0.5231 MB / 317.9 MB, free: 2.477 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/0.2121, allocations: 1.453 MB / 319.4 MB, free: 0.582 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004689/0.2168, allocations: 2.139 MB / 321.5 MB, free: 14.12 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.412e-05/0.2168, allocations: 8 kB / 321.5 MB, free: 14.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.007052/0.2238, allocations: 2.245 MB / 323.8 MB, free: 12.06 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.229e-05/0.2239, allocations: 20 kB / 323.8 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.409e-05/0.2239, allocations: 32 kB / 323.8 MB, free: 12.01 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.225, allocations: 232.6 kB / 324 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002146/0.2271, allocations: 398.4 kB / 324.4 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003187/0.2303, allocations: 1.712 MB / 326.1 MB, free: 9.629 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002686/0.233, allocations: 156.5 kB / 326.3 MB, free: 9.477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002333/0.2332, allocations: 92 kB / 326.4 MB, free: 9.387 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.002085/0.2353, allocations: 0.586 MB / 327 MB, free: 8.824 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005482/0.2359, allocations: 167.8 kB / 327.1 MB, free: 8.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00354/0.2394, allocations: 1.08 MB / 328.2 MB, free: 7.559 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.2394, allocations: 8 kB / 328.2 MB, free: 7.551 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.2394, allocations: 0 / 328.2 MB, free: 7.551 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.2394, allocations: 7.875 kB / 328.2 MB, free: 7.547 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007716/0.2472, allocations: 2.397 MB / 330.6 MB, free: 5.113 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/0.2472, allocations: 0 / 330.6 MB, free: 5.113 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008679/0.248, allocations: 126.8 kB / 330.7 MB, free: 4.996 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007662/0.2488, allocations: 164.7 kB / 330.9 MB, free: 4.828 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.651e-05/0.2489, allocations: 15.98 kB / 330.9 MB, free: 4.812 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002835/0.2517, allocations: 1.663 MB / 332.6 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.2517, allocations: 4.031 kB / 332.6 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004832/0.2565, allocations: 1.645 MB / 334.2 MB, free: 1.379 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/0.2575, allocations: 215 kB / 334.4 MB, free: 1.168 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002401/0.2578, allocations: 16.12 kB / 334.5 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.2588, allocations: 55.88 kB / 334.5 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/0.259, allocations: 48.41 kB / 334.6 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.092e-05/0.2591, allocations: 19.19 kB / 334.6 MB, free: 1.035 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.002457/0.2616, allocations: 0.9778 MB / 335.6 MB, free: 60 kB / 282.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2616, allocations: 0 / 335.6 MB, free: 60 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.002547/0.2641, allocations: 367.8 kB / 335.9 MB, free: 15.7 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.0005392/0.2646, allocations: 169.1 kB / 336.1 MB, free: 15.54 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00416/0.2688, allocations: 1.423 MB / 337.5 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.2688, allocations: 0.75 kB / 337.5 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00178/0.2706, allocations: 0.5812 MB / 338.1 MB, free: 13.6 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00192/0.2725, allocations: 369.5 kB / 338.4 MB, free: 13.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005974/0.2785, allocations: 2.991 MB / 341.4 MB, free: 10.22 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001175/0.2797, allocations: 0.8817 MB / 342.3 MB, free: 9.297 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.001099/0.2808, allocations: 340.9 kB / 342.7 MB, free: 8.957 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000288/0.281, allocations: 108.5 kB / 342.8 MB, free: 8.852 MB / 298.7 MB Notification: Performance of SimCode: time 1.182e-06/0.281, allocations: 0 / 342.8 MB, free: 8.852 MB / 298.7 MB Notification: Performance of Templates: time 0.03986/0.3209, allocations: 18.82 MB / 361.6 MB, free: 6.402 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 480] 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.065956050995737]