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.001169/0.001169, allocations: 107.2 kB / 17.15 MB, free: 6.328 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.001318/0.001318, allocations: 198 kB / 18.07 MB, free: 5.434 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.711/1.711, allocations: 205.1 MB / 223.9 MB, free: 12.49 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.001565/0.001566, allocations: 51.92 kB / 280 MB, free: 3.602 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1155, allocations: 46.64 MB / 326.6 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.01167/0.1273, allocations: 8.906 MB / 335.5 MB, free: 11.95 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007051/0.1343, allocations: 3.179 MB / 338.7 MB, free: 8.754 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001864/0.1362, allocations: 31.88 kB / 338.7 MB, free: 8.723 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002108/0.1384, allocations: 0.606 MB / 339.3 MB, free: 8.113 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002543/0.141, allocations: 0.6295 MB / 340 MB, free: 7.48 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.1421, allocations: 287.6 kB / 340.2 MB, free: 7.199 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002869/0.1449, allocations: 2.437 MB / 342.7 MB, free: 4.754 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001659/0.1466, allocations: 1.164 MB / 343.8 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002185/0.1488, allocations: 0.7937 MB / 344.6 MB, free: 2.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002487/0.1513, allocations: 1.101 MB / 345.7 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004282/0.1518, allocations: 144 kB / 345.9 MB, free: 1.504 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009792/0.1528, allocations: 243.8 kB / 346.1 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008147/0.1536, allocations: 0.5841 MB / 346.7 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00155/0.1551, allocations: 0.9873 MB / 347.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003966/0.1591, allocations: 3.006 MB / 350.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.218e-05/0.1592, allocations: 0 / 350.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.34e-06/0.1592, allocations: 4 kB / 350.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.006e-05/0.1593, allocations: 0 / 350.7 MB, free: 12.67 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.005566/0.1648, allocations: 2.261 MB / 353 MB, free: 10.35 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.1649, allocations: 8.031 kB / 353 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007228/0.1656, allocations: 230.5 kB / 353.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/0.1676, allocations: 1.142 MB / 354.3 MB, free: 8.914 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.336e-05/0.1677, allocations: 119.4 kB / 354.5 MB, free: 8.797 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002324/0.1679, allocations: 159.8 kB / 354.6 MB, free: 8.641 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003263/0.1712, allocations: 2.004 MB / 356.6 MB, free: 6.586 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.239e-05/0.1713, allocations: 7.984 kB / 356.6 MB, free: 6.578 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001423/0.1714, allocations: 60 kB / 356.7 MB, free: 6.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.672e-05/0.1715, allocations: 74.92 kB / 356.8 MB, free: 6.445 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002611/0.1741, allocations: 1.651 MB / 358.4 MB, free: 4.789 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009509/0.1836, allocations: 6.952 MB / 365.4 MB, free: 13.51 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007576/0.1844, allocations: 449 kB / 365.8 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003624/0.1848, allocations: 258 kB / 366 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002221/0.185, allocations: 121.5 kB / 366.2 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.1851, allocations: 39 kB / 366.2 MB, free: 12.62 MB / 318.1 MB Notification: Performance of pre-optimization done (n=47): time 1.954e-06/0.1851, allocations: 0 / 366.2 MB, free: 12.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.007062/0.1922, allocations: 3.28 MB / 369.5 MB, free: 9.258 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002493/0.1947, allocations: 2.17 MB / 371.7 MB, free: 6.918 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002254/0.1969, allocations: 1.623 MB / 373.3 MB, free: 5.285 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.581e-05/0.197, allocations: 33.7 kB / 373.3 MB, free: 5.246 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000768/0.1978, allocations: 1.022 MB / 374.3 MB, free: 4.211 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/0.198, allocations: 236.8 kB / 374.6 MB, free: 3.977 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004101/0.1984, allocations: 315.2 kB / 374.9 MB, free: 3.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1985, allocations: 305.1 kB / 375.2 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007909/0.1993, allocations: 0.5191 MB / 375.7 MB, free: 2.84 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.2008, allocations: 1.465 MB / 377.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2579/0.4587, allocations: 2.137 MB / 379.3 MB, free: 49.36 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.315e-05/0.4588, allocations: 8.906 kB / 379.3 MB, free: 49.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.00616/0.465, allocations: 2.158 MB / 381.5 MB, free: 49.08 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.319e-05/0.4651, allocations: 21.19 kB / 381.5 MB, free: 49.08 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.063e-05/0.4652, allocations: 38.39 kB / 381.5 MB, free: 49.08 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006231/0.4658, allocations: 224 kB / 381.7 MB, free: 49.06 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.467, allocations: 390.6 kB / 382.1 MB, free: 49.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/0.4688, allocations: 1.718 MB / 383.8 MB, free: 47.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/0.4707, allocations: 140.1 kB / 384 MB, free: 47.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001981/0.4709, allocations: 96.44 kB / 384.1 MB, free: 47.56 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.001257/0.4721, allocations: 0.5886 MB / 384.7 MB, free: 47.22 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003611/0.4725, allocations: 151.2 kB / 384.8 MB, free: 47.22 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002653/0.4752, allocations: 1.113 MB / 385.9 MB, free: 46.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.4752, allocations: 9.562 kB / 385.9 MB, free: 46.76 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.4752, allocations: 1.094 kB / 385.9 MB, free: 46.76 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/0.4752, allocations: 4.516 kB / 385.9 MB, free: 46.76 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007709/0.483, allocations: 3.394 MB / 389.3 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/0.483, allocations: 6.062 kB / 389.3 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004752/0.4835, allocations: 111.3 kB / 389.4 MB, free: 45.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007811/0.4843, allocations: 231.3 kB / 389.7 MB, free: 45.09 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.365e-05/0.4844, allocations: 19.27 kB / 389.7 MB, free: 45.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003429/0.4878, allocations: 3.706 MB / 393.4 MB, free: 42.07 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001657/0.4895, allocations: 2.024 MB / 395.4 MB, free: 40.35 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002607/0.4921, allocations: 1.737 MB / 397.1 MB, free: 39.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007197/0.4928, allocations: 307.3 kB / 397.4 MB, free: 39.21 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/0.493, allocations: 18.22 kB / 397.5 MB, free: 39.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006321/0.4937, allocations: 46.67 kB / 397.5 MB, free: 39.2 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/0.4938, allocations: 69.56 kB / 397.6 MB, free: 39.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.634e-05/0.4939, allocations: 23.25 kB / 397.6 MB, free: 39.17 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001915/0.4958, allocations: 1.071 MB / 398.7 MB, free: 38.76 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.436e-06/0.4958, allocations: 0 / 398.7 MB, free: 38.76 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002031/0.4979, allocations: 385.8 kB / 399 MB, free: 38.72 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.0003679/0.4982, allocations: 173.1 kB / 399.2 MB, free: 38.61 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002232/0.5005, allocations: 1.597 MB / 400.8 MB, free: 37.86 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.5005, allocations: 0 / 400.8 MB, free: 37.86 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.5016, allocations: 0.85 MB / 401.7 MB, free: 37.31 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001762/0.5034, allocations: 401.4 kB / 402.1 MB, free: 37.13 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004331/0.5077, allocations: 3.844 MB / 405.9 MB, free: 34.1 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007798/0.5085, allocations: 1.472 MB / 407.4 MB, free: 32.6 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001016/0.5095, allocations: 346 kB / 407.7 MB, free: 32.25 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.5098, allocations: 111.4 kB / 407.8 MB, free: 32.14 MB / 318.1 MB Notification: Performance of SimCode: time 6.72e-07/0.5098, allocations: 0 / 407.8 MB, free: 32.14 MB / 318.1 MB Notification: Performance of Templates: time 0.02887/0.5387, allocations: 19.58 MB / 427.4 MB, free: 12.56 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 -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