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.001729/0.00173, allocations: 108.4 kB / 18.34 MB, free: 4.676 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.001942/0.001943, allocations: 186.9 kB / 19.28 MB, free: 3.75 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.52/1.52, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001453/0.001453, allocations: 52.14 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1074, allocations: 46.63 MB / 328.7 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.009869/0.1173, allocations: 8.968 MB / 337.7 MB, free: 10.73 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005445/0.1228, allocations: 3.202 MB / 340.9 MB, free: 7.512 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005545/0.1234, allocations: 39.81 kB / 340.9 MB, free: 7.473 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001333/0.1248, allocations: 0.6794 MB / 341.6 MB, free: 6.789 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001454/0.1262, allocations: 0.695 MB / 342.3 MB, free: 6.09 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006025/0.1268, allocations: 323.5 kB / 342.6 MB, free: 5.773 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002055/0.1289, allocations: 2.101 MB / 344.7 MB, free: 3.664 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001549/0.1305, allocations: 1.405 MB / 346.1 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.1316, allocations: 0.907 MB / 347 MB, free: 1.301 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001334/0.1329, allocations: 1.129 MB / 348.2 MB, free: 172 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003041/0.1332, allocations: 232 kB / 348.4 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005482/0.1338, allocations: 319.8 kB / 348.7 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006451/0.1344, allocations: 0.6817 MB / 349.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001015/0.1355, allocations: 1.073 MB / 350.5 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002476/0.1379, allocations: 3.107 MB / 353.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.138, allocations: 4 kB / 353.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.138, allocations: 0 / 353.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.259e-05/0.138, allocations: 0 / 353.6 MB, free: 10.75 MB / 302.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.003981/0.142, allocations: 2.269 MB / 355.8 MB, free: 8.418 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.142, allocations: 8.031 kB / 355.8 MB, free: 8.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005786/0.1426, allocations: 222.5 kB / 356.1 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/0.1446, allocations: 1.165 MB / 357.2 MB, free: 6.969 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.184e-05/0.1447, allocations: 115.5 kB / 357.3 MB, free: 6.855 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002172/0.145, allocations: 163.8 kB / 357.5 MB, free: 6.695 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002996/0.148, allocations: 2.004 MB / 359.5 MB, free: 4.641 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.783e-05/0.148, allocations: 7.938 kB / 359.5 MB, free: 4.633 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.1482, allocations: 60 kB / 359.6 MB, free: 4.574 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.372e-05/0.1483, allocations: 78.91 kB / 359.6 MB, free: 4.496 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002578/0.1508, allocations: 1.647 MB / 361.3 MB, free: 2.844 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009643/0.1605, allocations: 6.905 MB / 368.2 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007651/0.1613, allocations: 449.1 kB / 368.6 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003656/0.1617, allocations: 263 kB / 368.9 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002326/0.1619, allocations: 113.5 kB / 369 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.162, allocations: 39 kB / 369 MB, free: 10.73 MB / 318.1 MB Notification: Performance of pre-optimization done (n=47): time 2.855e-06/0.162, allocations: 0 / 369 MB, free: 10.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.007172/0.1692, allocations: 3.281 MB / 372.3 MB, free: 7.363 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002464/0.1717, allocations: 2.326 MB / 374.7 MB, free: 4.867 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002136/0.1738, allocations: 1.623 MB / 376.3 MB, free: 3.234 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.968e-05/0.1739, allocations: 33.7 kB / 376.3 MB, free: 3.195 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006646/0.1745, allocations: 1.022 MB / 377.3 MB, free: 2.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001758/0.1747, allocations: 232.8 kB / 377.6 MB, free: 1.93 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004056/0.1751, allocations: 323.1 kB / 377.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.866e-05/0.1752, allocations: 301.1 kB / 378.2 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007436/0.176, allocations: 0.5153 MB / 378.7 MB, free: 0.793 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.169/0.345, allocations: 1.465 MB / 380.1 MB, free: 50.31 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002272/0.3473, allocations: 2.145 MB / 382.3 MB, free: 48.98 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.715e-05/0.3474, allocations: 9.625 kB / 382.3 MB, free: 48.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003427/0.3508, allocations: 2.162 MB / 384.5 MB, free: 48.39 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.132e-05/0.3508, allocations: 21.08 kB / 384.5 MB, free: 48.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.641e-05/0.3509, allocations: 32.06 kB / 384.5 MB, free: 48.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005786/0.3515, allocations: 220.3 kB / 384.7 MB, free: 48.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.3527, allocations: 400.8 kB / 385.1 MB, free: 48.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/0.3541, allocations: 1.851 MB / 387 MB, free: 46.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.3554, allocations: 132.9 kB / 387.1 MB, free: 46.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/0.3555, allocations: 95.06 kB / 387.2 MB, free: 46.72 MB / 318.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.0008722/0.3564, allocations: 0.5939 MB / 387.8 MB, free: 46.38 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002242/0.3566, allocations: 152.9 kB / 387.9 MB, free: 46.38 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/0.3585, allocations: 1.11 MB / 389 MB, free: 45.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.3585, allocations: 6.406 kB / 389.1 MB, free: 45.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3585, allocations: 2.625 kB / 389.1 MB, free: 45.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.3586, allocations: 7.188 kB / 389.1 MB, free: 45.92 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005203/0.3638, allocations: 3.387 MB / 392.5 MB, free: 44.35 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.3638, allocations: 5.469 kB / 392.5 MB, free: 44.35 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004345/0.3642, allocations: 112.1 kB / 392.6 MB, free: 44.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006338/0.3649, allocations: 227.9 kB / 392.8 MB, free: 44.27 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.128e-05/0.3649, allocations: 19.61 kB / 392.8 MB, free: 44.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003128/0.3681, allocations: 4.052 MB / 396.9 MB, free: 40.96 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001545/0.3696, allocations: 2.181 MB / 399 MB, free: 39.07 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00256/0.3722, allocations: 1.746 MB / 400.8 MB, free: 38.15 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006963/0.3729, allocations: 306.4 kB / 401.1 MB, free: 37.93 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001781/0.3731, allocations: 22.83 kB / 401.1 MB, free: 37.92 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006535/0.3738, allocations: 50.94 kB / 401.2 MB, free: 37.91 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.3739, allocations: 64.44 kB / 401.2 MB, free: 37.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.401e-05/0.374, allocations: 27.2 kB / 401.2 MB, free: 37.89 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001346/0.3753, allocations: 1.069 MB / 402.3 MB, free: 37.47 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.3753, allocations: 0 / 402.3 MB, free: 37.47 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001604/0.3769, allocations: 386.6 kB / 402.7 MB, free: 37.44 MB / 318.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.0002826/0.3772, allocations: 172.7 kB / 402.9 MB, free: 37.32 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002197/0.3794, allocations: 1.608 MB / 404.5 MB, free: 36.52 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.3794, allocations: 448 / 404.5 MB, free: 36.52 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.3805, allocations: 0.8578 MB / 405.3 MB, free: 35.91 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/0.382, allocations: 414.3 kB / 405.7 MB, free: 35.72 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/0.3855, allocations: 3.156 MB / 408.9 MB, free: 32.88 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000784/0.3863, allocations: 1.472 MB / 410.4 MB, free: 31.38 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007534/0.3871, allocations: 351.6 kB / 410.7 MB, free: 31.04 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/0.3873, allocations: 115.4 kB / 410.8 MB, free: 30.93 MB / 318.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3873, allocations: 7.938 kB / 410.8 MB, free: 30.92 MB / 318.1 MB Notification: Performance of Templates: time 0.02732/0.4147, allocations: 20.4 MB / 431.2 MB, free: 10.53 MB / 318.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 -s gbode -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/jenkins1/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/jenkins1/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