Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 114.5 kB / 17.73 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001525/0.001526, allocations: 187 kB / 18.67 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 52.41 kB / 328.5 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.113, allocations: 46.61 MB / 375.1 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.2548/0.3679, allocations: 8.965 MB / 384.1 MB, free: 8.465 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005711/0.3736, allocations: 3.208 MB / 387.3 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009966/0.3746, allocations: 34.97 kB / 387.4 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001827/0.3766, allocations: 0.6693 MB / 388 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001877/0.3784, allocations: 0.6962 MB / 388.7 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007082/0.3792, allocations: 328 kB / 389 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002205/0.3814, allocations: 2.109 MB / 391.1 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001537/0.3829, allocations: 1.401 MB / 392.5 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0015/0.3844, allocations: 0.9086 MB / 393.5 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001619/0.3861, allocations: 1.13 MB / 394.6 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003545/0.3864, allocations: 230.4 kB / 394.8 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000753/0.3872, allocations: 322.9 kB / 395.1 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006665/0.3879, allocations: 0.6836 MB / 395.8 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001048/0.3889, allocations: 1.078 MB / 396.9 MB, free: 2.047 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003853/0.3928, allocations: 3.107 MB / 400 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.3928, allocations: 1.781 kB / 400 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.3928, allocations: 0 / 400 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.939e-05/0.3929, allocations: 3.938 kB / 400 MB, free: 0.9414 MB / 318.1 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.004939/0.3979, allocations: 2.264 MB / 402.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3979, allocations: 9.406 kB / 402.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007291/0.3986, allocations: 230 kB / 402.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002283/0.4009, allocations: 1.153 MB / 403.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.4011, allocations: 121 kB / 403.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002876/0.4014, allocations: 156.2 kB / 403.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00357/0.405, allocations: 2.009 MB / 405.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.529e-05/0.405, allocations: 10.56 kB / 405.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001576/0.4052, allocations: 63.38 kB / 406 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.384e-05/0.4053, allocations: 75.39 kB / 406.1 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002809/0.4081, allocations: 1.651 MB / 407.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009739/0.4178, allocations: 6.892 MB / 414.6 MB, free: 6.672 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007354/0.4186, allocations: 449.6 kB / 415.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003525/0.419, allocations: 263.5 kB / 415.3 MB, free: 6.328 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000208/0.4192, allocations: 119.6 kB / 415.4 MB, free: 6.219 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.4192, allocations: 41.69 kB / 415.5 MB, free: 6.172 MB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 4.208e-06/0.4192, allocations: 4 kB / 415.5 MB, free: 6.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=63): time 0.007006/0.4263, allocations: 3.289 MB / 418.8 MB, free: 3.395 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002257/0.4285, allocations: 2.341 MB / 421.1 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00216/0.4307, allocations: 1.604 MB / 422.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.232e-05/0.4308, allocations: 41.69 kB / 422.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006545/0.4314, allocations: 1.022 MB / 423.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.4316, allocations: 236.8 kB / 424 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003993/0.432, allocations: 319.1 kB / 424.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.492e-05/0.4322, allocations: 309.2 kB / 424.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007476/0.4329, allocations: 0.5192 MB / 425.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001304/0.4342, allocations: 1.457 MB / 426.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002285/0.4365, allocations: 2.141 MB / 428.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-05/0.4365, allocations: 15.94 kB / 428.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003874/0.4404, allocations: 2.153 MB / 430.9 MB, free: 6.094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.262e-05/0.4405, allocations: 20.94 kB / 430.9 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.438e-05/0.4405, allocations: 32 kB / 431 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005547/0.4411, allocations: 230.4 kB / 431.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.4422, allocations: 399.2 kB / 431.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/0.4439, allocations: 1.843 MB / 433.4 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.4455, allocations: 139.4 kB / 433.6 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.4456, allocations: 99.98 kB / 433.7 MB, free: 3.191 MB / 350.1 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.001054/0.4467, allocations: 0.5789 MB / 434.2 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/0.4469, allocations: 150.1 kB / 434.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001895/0.4488, allocations: 1.11 MB / 435.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.4489, allocations: 8 kB / 435.5 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4489, allocations: 3.984 kB / 435.5 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.4489, allocations: 304 / 435.5 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005128/0.454, allocations: 3.41 MB / 438.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.353e-06/0.454, allocations: 4 kB / 438.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004089/0.4545, allocations: 111.9 kB / 439 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005909/0.4551, allocations: 230.4 kB / 439.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.057e-05/0.4551, allocations: 16 kB / 439.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003768/0.4589, allocations: 4.05 MB / 443.3 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002051/0.461, allocations: 2.169 MB / 445.5 MB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002476/0.4635, allocations: 1.739 MB / 447.2 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005999/0.4641, allocations: 311.1 kB / 447.5 MB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/0.4642, allocations: 19.94 kB / 447.5 MB, free: 4.551 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006881/0.4649, allocations: 51.88 kB / 447.6 MB, free: 4.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.4651, allocations: 67.81 kB / 447.7 MB, free: 4.434 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.932e-05/0.4652, allocations: 23.98 kB / 447.7 MB, free: 4.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001718/0.4669, allocations: 1.07 MB / 448.8 MB, free: 3.344 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4669, allocations: 0 / 448.8 MB, free: 3.344 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001799/0.4687, allocations: 380 kB / 449.1 MB, free: 2.973 MB / 366.1 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.0004207/0.4691, allocations: 179.1 kB / 449.3 MB, free: 2.789 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002663/0.4718, allocations: 1.61 MB / 450.9 MB, free: 1.133 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.4718, allocations: 4 kB / 450.9 MB, free: 1.129 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001245/0.4731, allocations: 0.8634 MB / 451.8 MB, free: 224 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/0.4749, allocations: 407.2 kB / 452.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004921/0.4798, allocations: 3.157 MB / 455.3 MB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001205/0.481, allocations: 1.469 MB / 456.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009201/0.482, allocations: 350 kB / 457.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002925/0.4823, allocations: 115.4 kB / 457.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4823, allocations: 0 / 457.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of Templates: time 0.0362/0.5185, allocations: 20.88 MB / 478.1 MB, free: 5.68 MB / 398.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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