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.001577/0.001577, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.0018/0.0018, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 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 2.125/2.125, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 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 0.002319/0.002319, allocations: 43.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3479, allocations: 53.36 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01401/0.3619, allocations: 8.099 MB / 440.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007941/0.3698, allocations: 2.968 MB / 443.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.371, allocations: 51.69 kB / 443.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002327/0.3733, allocations: 0.6636 MB / 444.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00282/0.3761, allocations: 0.7652 MB / 444.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008471/0.377, allocations: 319.5 kB / 445.2 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003048/0.38, allocations: 2.144 MB / 447.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001505/0.3815, allocations: 0.8403 MB / 448.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001706/0.3833, allocations: 0.9538 MB / 449.1 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001935/0.3852, allocations: 1.171 MB / 450.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003979/0.3856, allocations: 232 kB / 450.5 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007658/0.3863, allocations: 331.8 kB / 450.8 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008256/0.3872, allocations: 0.6933 MB / 451.5 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001252/0.3884, allocations: 0.8789 MB / 452.4 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008238/0.3967, allocations: 3.172 MB / 455.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3967, allocations: 0 / 455.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3967, allocations: 0 / 455.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.973e-05/0.3967, allocations: 0 / 455.6 MB, free: 15.29 MB / 366.1 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.00587/0.4026, allocations: 2.282 MB / 457.9 MB, free: 12.97 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.4027, allocations: 11.97 kB / 457.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008557/0.4035, allocations: 243.6 kB / 458.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002979/0.4065, allocations: 1.172 MB / 459.3 MB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/0.4066, allocations: 115.5 kB / 459.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003332/0.407, allocations: 155.9 kB / 459.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004896/0.4118, allocations: 2.108 MB / 461.7 MB, free: 9.066 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.356e-05/0.4119, allocations: 7.953 kB / 461.7 MB, free: 9.059 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002676/0.4122, allocations: 60 kB / 461.7 MB, free: 9 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001206/0.4123, allocations: 74.94 kB / 461.8 MB, free: 8.926 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00411/0.4164, allocations: 1.682 MB / 463.5 MB, free: 7.238 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01292/0.4293, allocations: 6.202 MB / 469.7 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.4304, allocations: 458.3 kB / 470.1 MB, free: 268 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005741/0.431, allocations: 258 kB / 470.4 MB, free: 8 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002366/0.4312, allocations: 40.39 kB / 470.4 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/0.4313, allocations: 39 kB / 470.5 MB, free: 15.92 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 3.757e-06/0.4313, allocations: 0 / 470.5 MB, free: 15.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.00902/0.4403, allocations: 2.903 MB / 473.4 MB, free: 12.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.4404, allocations: 56.06 kB / 473.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002872/0.4432, allocations: 1.543 MB / 475 MB, free: 11.37 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.426e-05/0.4433, allocations: 37.7 kB / 475 MB, free: 11.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001082/0.4444, allocations: 1.068 MB / 476.1 MB, free: 10.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002964/0.4447, allocations: 254 kB / 476.3 MB, free: 9.996 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005724/0.4453, allocations: 315.4 kB / 476.6 MB, free: 9.684 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.4454, allocations: 305.1 kB / 476.9 MB, free: 9.383 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.4466, allocations: 0.527 MB / 477.5 MB, free: 8.855 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002156/0.4488, allocations: 1.45 MB / 478.9 MB, free: 6.949 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003719/0.4525, allocations: 2.132 MB / 481 MB, free: 4.355 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.227e-05/0.4525, allocations: 8 kB / 481 MB, free: 4.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005162/0.4577, allocations: 2.159 MB / 483.2 MB, free: 2.172 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.567e-05/0.4577, allocations: 20.97 kB / 483.2 MB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.512e-05/0.4578, allocations: 32 kB / 483.3 MB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007557/0.4585, allocations: 230.4 kB / 483.5 MB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/0.4602, allocations: 395.2 kB / 483.9 MB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002348/0.4625, allocations: 1.713 MB / 485.6 MB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/0.4644, allocations: 143.7 kB / 485.7 MB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/0.4646, allocations: 95.98 kB / 485.8 MB, free: 15.45 MB / 398.1 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.001311/0.4659, allocations: 0.5906 MB / 486.4 MB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003441/0.4662, allocations: 155 kB / 486.6 MB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002706/0.4689, allocations: 1.088 MB / 487.6 MB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.4689, allocations: 11.92 kB / 487.7 MB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.469, allocations: 4 kB / 487.7 MB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.469, allocations: 3.984 kB / 487.7 MB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006359/0.4753, allocations: 2.376 MB / 490 MB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.4753, allocations: 0 / 490 MB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007171/0.476, allocations: 131.9 kB / 490.2 MB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005922/0.4766, allocations: 162.4 kB / 490.3 MB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.277e-05/0.4767, allocations: 15.94 kB / 490.3 MB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002179/0.4789, allocations: 1.667 MB / 492 MB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/0.4789, allocations: 0 / 492 MB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003613/0.4825, allocations: 1.63 MB / 493.6 MB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008596/0.4834, allocations: 215.1 kB / 493.9 MB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/0.4836, allocations: 16 kB / 493.9 MB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008727/0.4844, allocations: 55.92 kB / 493.9 MB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/0.4846, allocations: 44.42 kB / 494 MB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.309e-05/0.4847, allocations: 19.98 kB / 494 MB, free: 7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00213/0.4868, allocations: 0.9739 MB / 495 MB, free: 6.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4868, allocations: 0 / 495 MB, free: 6.027 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002117/0.4889, allocations: 363.9 kB / 495.3 MB, free: 5.672 MB / 398.1 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.0004063/0.4893, allocations: 167 kB / 495.5 MB, free: 5.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0036/0.4929, allocations: 1.417 MB / 496.9 MB, free: 4.074 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.4929, allocations: 0 / 496.9 MB, free: 4.074 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001391/0.4943, allocations: 0.5811 MB / 497.5 MB, free: 3.477 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002386/0.4967, allocations: 361.5 kB / 497.8 MB, free: 3.137 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006197/0.5029, allocations: 2.994 MB / 0.4891 GB, free: 92 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/0.5042, allocations: 0.8894 MB / 0.49 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001276/0.5055, allocations: 341 kB / 0.4903 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003354/0.5058, allocations: 99.42 kB / 0.4904 GB, free: 14.73 MB / 414.1 MB Notification: Performance of SimCode: time 8.02e-07/0.5058, allocations: 4 kB / 0.4904 GB, free: 14.72 MB / 414.1 MB Notification: Performance of Templates: time 0.04967/0.5555, allocations: 21.63 MB / 0.5115 GB, free: 9.453 MB / 430.1 MB " [Timeout remaining time 659] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins1/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: 7.973927792001632]