Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=800,variableFilter="time|smee.is.1.|smee.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=800,variableFilter="time|smee.is.1.|smee.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 178.5 kB / 17.36 MB, free: 4.316 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 205.6 MB / 223.7 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000824/0.0008241, allocations: 94.3 kB / 272.1 MB, free: 8.098 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003081/0.0003083, allocations: 8 kB / 329 MB, free: 15.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.232, allocations: 47.58 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.006893/0.2389, allocations: 7.958 MB / 384.6 MB, free: 39.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004772/0.2437, allocations: 3.516 MB / 388.1 MB, free: 36.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001017/0.2448, allocations: 32.09 kB / 388.1 MB, free: 36.28 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.2462, allocations: 0.5997 MB / 388.7 MB, free: 35.85 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002036/0.2483, allocations: 0.6374 MB / 389.3 MB, free: 35.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000718/0.249, allocations: 282.2 kB / 389.6 MB, free: 35.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002504/0.2515, allocations: 2.429 MB / 392.1 MB, free: 32.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/0.2527, allocations: 1.172 MB / 393.2 MB, free: 31.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008725/0.2535, allocations: 0.7233 MB / 393.9 MB, free: 30.94 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009687/0.2545, allocations: 0.988 MB / 394.9 MB, free: 29.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001637/0.2547, allocations: 104 kB / 395 MB, free: 29.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004413/0.2551, allocations: 199.8 kB / 395.2 MB, free: 29.65 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000383/0.2555, allocations: 0.5256 MB / 395.8 MB, free: 29.12 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006711/0.2562, allocations: 0.9382 MB / 396.7 MB, free: 28.17 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001849/0.2581, allocations: 2.919 MB / 399.6 MB, free: 25.24 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.2581, allocations: 4 kB / 399.6 MB, free: 25.24 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.836e-06/0.2581, allocations: 0 / 399.6 MB, free: 25.24 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.199e-05/0.2582, allocations: 3.938 kB / 399.6 MB, free: 25.23 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.003174/0.2613, allocations: 1.923 MB / 401.5 MB, free: 23.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.2614, allocations: 8.031 kB / 401.6 MB, free: 23.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000506/0.2619, allocations: 234.4 kB / 401.8 MB, free: 23.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/0.2635, allocations: 1.138 MB / 402.9 MB, free: 21.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.838e-05/0.2636, allocations: 119.4 kB / 403 MB, free: 21.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.2637, allocations: 155.9 kB / 403.2 MB, free: 21.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002597/0.2663, allocations: 1.996 MB / 405.2 MB, free: 19.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.01e-05/0.2664, allocations: 11.89 kB / 405.2 MB, free: 19.49 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.2665, allocations: 60 kB / 405.3 MB, free: 19.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.071e-05/0.2666, allocations: 78.91 kB / 405.3 MB, free: 19.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002106/0.2687, allocations: 1.635 MB / 407 MB, free: 17.71 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007237/0.276, allocations: 6.987 MB / 414 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006152/0.2766, allocations: 436.9 kB / 414.4 MB, free: 9.965 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/0.2769, allocations: 262 kB / 414.6 MB, free: 9.707 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/0.2771, allocations: 121.5 kB / 414.8 MB, free: 9.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.2771, allocations: 38.94 kB / 414.8 MB, free: 9.523 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 2.796e-06/0.2771, allocations: 0 / 414.8 MB, free: 9.523 MB / 298.7 MB Notification: Performance of matching and sorting (n=63): time 0.005808/0.2829, allocations: 3.3 MB / 418.1 MB, free: 6.137 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00175/0.2847, allocations: 2.166 MB / 420.3 MB, free: 3.805 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001753/0.2865, allocations: 1.604 MB / 421.9 MB, free: 2.191 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.059e-05/0.2866, allocations: 33.7 kB / 421.9 MB, free: 2.152 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004396/0.287, allocations: 1.026 MB / 422.9 MB, free: 1.113 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.2871, allocations: 236.8 kB / 423.2 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.713e-05/0.2872, allocations: 36 kB / 423.2 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.27e-05/0.2873, allocations: 365.9 kB / 423.5 MB, free: 492 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006484/0.2879, allocations: 0.5114 MB / 424.1 MB, free: 15.97 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001374/0.2893, allocations: 1.457 MB / 425.5 MB, free: 14.04 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002429/0.2918, allocations: 2.13 MB / 427.6 MB, free: 11.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-05/0.2918, allocations: 8 kB / 427.7 MB, free: 11.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003379/0.2952, allocations: 2.146 MB / 429.8 MB, free: 9.273 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/0.2952, allocations: 26.88 kB / 429.8 MB, free: 9.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.3e-05/0.2953, allocations: 32.08 kB / 429.9 MB, free: 9.219 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005285/0.2958, allocations: 226.3 kB / 430.1 MB, free: 8.988 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.2969, allocations: 395.3 kB / 430.5 MB, free: 8.602 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/0.2985, allocations: 1.721 MB / 432.2 MB, free: 6.746 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.2998, allocations: 135.4 kB / 432.3 MB, free: 6.613 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.2999, allocations: 99.98 kB / 432.4 MB, free: 6.516 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * 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.0008871/0.3008, allocations: 0.5789 MB / 433 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002361/0.3011, allocations: 154.1 kB / 433.1 MB, free: 5.773 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001816/0.3029, allocations: 1.106 MB / 434.2 MB, free: 4.645 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.3029, allocations: 19.91 kB / 434.3 MB, free: 4.625 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.3029, allocations: 3.938 kB / 434.3 MB, free: 4.621 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.3029, allocations: 0 / 434.3 MB, free: 4.621 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005149/0.3081, allocations: 3.379 MB / 437.7 MB, free: 1.086 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.026e-06/0.3081, allocations: 4 kB / 437.7 MB, free: 1.082 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004223/0.3086, allocations: 107.9 kB / 437.8 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006246/0.3092, allocations: 230.3 kB / 438 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.187e-05/0.3092, allocations: 16 kB / 438 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003583/0.3128, allocations: 3.709 MB / 441.7 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001927/0.3148, allocations: 2.018 MB / 443.7 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002559/0.3174, allocations: 1.73 MB / 445.5 MB, free: 8.754 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006885/0.3181, allocations: 311.1 kB / 445.8 MB, free: 8.43 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/0.3182, allocations: 24 kB / 445.8 MB, free: 8.406 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006294/0.3189, allocations: 51.88 kB / 445.8 MB, free: 8.355 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.319, allocations: 63.88 kB / 445.9 MB, free: 8.293 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-05/0.3191, allocations: 23.98 kB / 445.9 MB, free: 8.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001482/0.3206, allocations: 1.055 MB / 447 MB, free: 7.219 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3206, allocations: 0 / 447 MB, free: 7.219 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001584/0.3222, allocations: 380 kB / 447.3 MB, free: 6.848 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 1 ($STATESET1.x) * 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 (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 1 system {(3,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003492/0.3225, allocations: 179 kB / 447.5 MB, free: 6.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002484/0.325, allocations: 1.593 MB / 449.1 MB, free: 5.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.325, allocations: 0 / 449.1 MB, free: 5.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.3262, allocations: 0.8518 MB / 450 MB, free: 4.121 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002599/0.3288, allocations: 391.3 kB / 450.3 MB, free: 3.738 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004891/0.3337, allocations: 3.883 MB / 454.2 MB, free: 15.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/0.3348, allocations: 1.469 MB / 455.7 MB, free: 14.25 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001072/0.3359, allocations: 350 kB / 456 MB, free: 13.9 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000274/0.3362, allocations: 115.4 kB / 456.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of SimCode: time 5.91e-07/0.3362, allocations: 0 / 456.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of Templates: time 0.03369/0.3699, allocations: 19.36 MB / 475.5 MB, free: 10.52 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_NoLoad/SMPM_NoLoad.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches