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.001298/0.001298, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001487/0.001487, allocations: 207.3 kB / 23.73 MB, free: 4.379 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 1.562/1.562, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001647/0.001647, allocations: 51.92 kB / 378.2 MB, free: 2.551 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2806, allocations: 53.37 MB / 431.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01135/0.2919, allocations: 8.073 MB / 439.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006266/0.2982, allocations: 2.979 MB / 442.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001465/0.2996, allocations: 55.69 kB / 442.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002297/0.3019, allocations: 0.6562 MB / 443.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002714/0.3046, allocations: 0.7652 MB / 444.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.3057, allocations: 319.5 kB / 444.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003147/0.3088, allocations: 2.148 MB / 446.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001458/0.3103, allocations: 0.8364 MB / 447.4 MB, free: 6.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00154/0.3118, allocations: 0.9538 MB / 448.4 MB, free: 5.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001645/0.3135, allocations: 1.175 MB / 449.5 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003122/0.3138, allocations: 232 kB / 449.8 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006272/0.3144, allocations: 331.8 kB / 450.1 MB, free: 4.098 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007618/0.3152, allocations: 0.6894 MB / 450.8 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001046/0.3162, allocations: 0.8868 MB / 451.7 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003387/0.3196, allocations: 3.17 MB / 454.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.3196, allocations: 3.984 kB / 454.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3196, allocations: 0 / 454.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.826e-05/0.3197, allocations: 0 / 454.8 MB, free: 15.33 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.004588/0.3242, allocations: 2.27 MB / 457.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.3243, allocations: 12.03 kB / 457.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007109/0.325, allocations: 243.5 kB / 457.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002387/0.3274, allocations: 1.172 MB / 458.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.3275, allocations: 111.5 kB / 458.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002637/0.3278, allocations: 163.9 kB / 458.8 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003515/0.3313, allocations: 2.108 MB / 460.9 MB, free: 9.109 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.44e-05/0.3313, allocations: 7.953 kB / 460.9 MB, free: 9.102 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001532/0.3315, allocations: 63.94 kB / 461 MB, free: 9.039 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001039/0.3316, allocations: 86.86 kB / 461.1 MB, free: 8.953 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002936/0.3345, allocations: 1.667 MB / 462.7 MB, free: 7.281 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00989/0.3444, allocations: 6.21 MB / 468.9 MB, free: 0.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009414/0.3454, allocations: 441.5 kB / 469.4 MB, free: 320 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004871/0.3458, allocations: 270 kB / 469.6 MB, free: 48 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002106/0.3461, allocations: 36.41 kB / 469.7 MB, free: 12 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.258e-05/0.3461, allocations: 35 kB / 469.7 MB, free: 15.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 4.639e-06/0.3461, allocations: 3.984 kB / 469.7 MB, free: 15.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.007355/0.3535, allocations: 2.903 MB / 472.6 MB, free: 13.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.3535, allocations: 60.06 kB / 472.7 MB, free: 12.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002356/0.3559, allocations: 1.547 MB / 474.2 MB, free: 11.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.744e-05/0.3559, allocations: 33.7 kB / 474.3 MB, free: 11.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008705/0.3568, allocations: 1.071 MB / 475.3 MB, free: 10.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002254/0.357, allocations: 254 kB / 475.6 MB, free: 10.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004552/0.3575, allocations: 319.3 kB / 475.9 MB, free: 9.715 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.3576, allocations: 301.1 kB / 476.2 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009564/0.3586, allocations: 0.5192 MB / 476.7 MB, free: 8.898 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001731/0.3603, allocations: 1.458 MB / 478.2 MB, free: 6.984 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002868/0.3632, allocations: 2.136 MB / 480.3 MB, free: 4.387 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.771e-05/0.3632, allocations: 16 kB / 480.3 MB, free: 4.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003862/0.367, allocations: 2.152 MB / 482.5 MB, free: 2.203 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.378e-05/0.3671, allocations: 20 kB / 482.5 MB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.721e-05/0.3671, allocations: 32 kB / 482.5 MB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006253/0.3677, allocations: 226.8 kB / 482.7 MB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.369, allocations: 403.3 kB / 483.1 MB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/0.3709, allocations: 1.705 MB / 484.8 MB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.3722, allocations: 151.7 kB / 485 MB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/0.3723, allocations: 92 kB / 485.1 MB, free: 15.48 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.0008657/0.3732, allocations: 0.5867 MB / 485.7 MB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/0.3734, allocations: 151 kB / 485.8 MB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002122/0.3756, allocations: 1.084 MB / 486.9 MB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.3756, allocations: 8 kB / 486.9 MB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3756, allocations: 0 / 486.9 MB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.3756, allocations: 4.125 kB / 486.9 MB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004617/0.3802, allocations: 2.383 MB / 489.3 MB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.3802, allocations: 4 kB / 489.3 MB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005762/0.3808, allocations: 119.8 kB / 489.4 MB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004813/0.3813, allocations: 166.6 kB / 489.6 MB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.465e-05/0.3813, allocations: 19.88 kB / 489.6 MB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001706/0.383, allocations: 1.671 MB / 491.3 MB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.383, allocations: 3.984 kB / 491.3 MB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002764/0.3858, allocations: 1.63 MB / 492.9 MB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005912/0.3864, allocations: 218.9 kB / 493.1 MB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/0.3865, allocations: 12 kB / 493.1 MB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007334/0.3873, allocations: 56 kB / 493.2 MB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.3874, allocations: 48.41 kB / 493.2 MB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-05/0.3875, allocations: 16 kB / 493.2 MB, free: 7.035 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001521/0.389, allocations: 0.9817 MB / 494.2 MB, free: 6.055 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.389, allocations: 0 / 494.2 MB, free: 6.055 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001421/0.3904, allocations: 363.9 kB / 494.6 MB, free: 5.699 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.0003323/0.3908, allocations: 163 kB / 494.7 MB, free: 5.531 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002703/0.3935, allocations: 1.417 MB / 496.1 MB, free: 4.105 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3935, allocations: 0 / 496.1 MB, free: 4.105 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001155/0.3946, allocations: 0.5775 MB / 496.7 MB, free: 3.512 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.3962, allocations: 365.6 kB / 497.1 MB, free: 3.172 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004757/0.401, allocations: 2.998 MB / 0.4884 GB, free: 124 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/0.402, allocations: 0.8855 MB / 0.4892 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000899/0.4029, allocations: 337 kB / 0.4895 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/0.4032, allocations: 107.4 kB / 0.4896 GB, free: 14.76 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4032, allocations: 0 / 0.4896 GB, free: 14.76 MB / 414.1 MB Notification: Performance of Templates: time 0.03913/0.4423, allocations: 21.63 MB / 0.5108 GB, free: 9.488 MB / 430.1 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.266210266854614]