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.001342/0.001341, allocations: 95.67 kB / 16.94 MB, free: 5.98 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.001414/0.001415, allocations: 180 kB / 17.82 MB, free: 5.652 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.729/1.729, allocations: 205.4 MB / 224 MB, free: 13.17 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.0005648/0.0005651, allocations: 19.28 kB / 280.8 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09529/0.09587, allocations: 47.58 MB / 328.3 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.007955/0.1039, allocations: 7.252 MB / 335.6 MB, free: 12.81 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005285/0.1092, allocations: 3.085 MB / 338.7 MB, free: 9.715 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/0.1106, allocations: 31.88 kB / 338.7 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001858/0.1125, allocations: 0.5715 MB / 339.3 MB, free: 9.109 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002151/0.1146, allocations: 0.6348 MB / 339.9 MB, free: 8.473 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006177/0.1153, allocations: 219.6 kB / 340.1 MB, free: 8.258 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002266/0.1175, allocations: 1.388 MB / 341.5 MB, free: 6.867 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001187/0.1188, allocations: 0.9528 MB / 342.5 MB, free: 5.883 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009968/0.1198, allocations: 0.6538 MB / 343.1 MB, free: 5.227 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.1209, allocations: 0.821 MB / 343.9 MB, free: 4.402 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001968/0.1211, allocations: 104 kB / 344 MB, free: 4.301 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004773/0.1216, allocations: 167.9 kB / 344.2 MB, free: 4.137 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005257/0.1221, allocations: 0.5024 MB / 344.7 MB, free: 3.633 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004151/0.1226, allocations: 392.7 kB / 345.1 MB, free: 3.242 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00222/0.1248, allocations: 2.462 MB / 347.6 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1248, allocations: 0 / 347.6 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1248, allocations: 0 / 347.6 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.282e-05/0.1249, allocations: 4 kB / 347.6 MB, free: 0.7695 MB / 286.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.003855/0.1287, allocations: 1.942 MB / 349.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.1288, allocations: 15.97 kB / 349.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006471/0.1294, allocations: 233.2 kB / 349.7 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002045/0.1315, allocations: 1.122 MB / 350.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.642e-05/0.1316, allocations: 119.1 kB / 351 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000229/0.1318, allocations: 159.9 kB / 351.1 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003029/0.1349, allocations: 1.977 MB / 353.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.159e-05/0.1349, allocations: 3.906 kB / 353.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/0.1351, allocations: 68 kB / 353.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.418e-05/0.1352, allocations: 78.91 kB / 353.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002522/0.1377, allocations: 1.635 MB / 354.9 MB, free: 9.254 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009793/0.1475, allocations: 6.94 MB / 361.8 MB, free: 1.988 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006911/0.1482, allocations: 444.5 kB / 362.3 MB, free: 1.543 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002235/0.1485, allocations: 117.5 kB / 362.4 MB, free: 1.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.1485, allocations: 39.56 kB / 362.4 MB, free: 1.363 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 3.948e-06/0.1485, allocations: 0 / 362.4 MB, free: 1.363 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.007187/0.1557, allocations: 3.3 MB / 365.7 MB, free: 13.98 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002358/0.1581, allocations: 2.206 MB / 367.9 MB, free: 11.61 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002399/0.1605, allocations: 1.588 MB / 369.5 MB, free: 10.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.852e-05/0.1606, allocations: 37.7 kB / 369.6 MB, free: 9.973 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006951/0.1614, allocations: 1.022 MB / 370.6 MB, free: 8.938 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/0.1616, allocations: 240.8 kB / 370.8 MB, free: 8.699 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-05/0.1616, allocations: 36 kB / 370.8 MB, free: 8.664 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1618, allocations: 365.9 kB / 371.2 MB, free: 8.301 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000767/0.1626, allocations: 0.5114 MB / 371.7 MB, free: 7.789 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.1639, allocations: 1.449 MB / 373.2 MB, free: 5.871 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.165, allocations: 0.8008 MB / 374 MB, free: 5.07 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.289e-05/0.165, allocations: 8 kB / 374 MB, free: 5.062 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003411/0.1684, allocations: 2.142 MB / 376.1 MB, free: 2.906 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.195e-05/0.1685, allocations: 20 kB / 376.1 MB, free: 2.887 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.241e-05/0.1685, allocations: 36 kB / 376.2 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005158/0.1691, allocations: 230.3 kB / 376.4 MB, free: 2.617 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.1702, allocations: 395.3 kB / 376.8 MB, free: 2.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/0.1717, allocations: 1.745 MB / 378.5 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/0.1731, allocations: 135.4 kB / 378.7 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.1732, allocations: 99.98 kB / 378.8 MB, free: 124 kB / 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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.195/0.3682, allocations: 0.5808 MB / 379.3 MB, free: 49.01 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000493/0.3687, allocations: 149.3 kB / 379.5 MB, free: 49.01 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002153/0.3709, allocations: 1.104 MB / 380.6 MB, free: 48.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.826e-05/0.3709, allocations: 6.594 kB / 380.6 MB, free: 48.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.371, allocations: 1.344 kB / 380.6 MB, free: 48.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/0.371, allocations: 3.188 kB / 380.6 MB, free: 48.91 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008231/0.3792, allocations: 3.361 MB / 384 MB, free: 47.92 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.675e-05/0.3793, allocations: 5.5 kB / 384 MB, free: 47.92 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006642/0.38, allocations: 111.9 kB / 384.1 MB, free: 47.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001047/0.381, allocations: 227.6 kB / 384.3 MB, free: 47.85 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.337e-05/0.3811, allocations: 18.8 kB / 384.3 MB, free: 47.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005076/0.3862, allocations: 3.765 MB / 388.1 MB, free: 44.82 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002691/0.389, allocations: 2.043 MB / 390.1 MB, free: 43.11 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003737/0.3927, allocations: 2.062 MB / 392.2 MB, free: 41.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000756/0.3935, allocations: 311.5 kB / 392.5 MB, free: 41.61 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/0.3937, allocations: 16.53 kB / 392.5 MB, free: 41.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000649/0.3943, allocations: 49.08 kB / 392.6 MB, free: 41.6 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.3945, allocations: 65.52 kB / 392.6 MB, free: 41.58 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.915e-05/0.3946, allocations: 24.03 kB / 392.6 MB, free: 41.58 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001624/0.3962, allocations: 1.041 MB / 393.7 MB, free: 41.17 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3962, allocations: 0 / 393.7 MB, free: 41.17 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001796/0.398, allocations: 383.3 kB / 394.1 MB, free: 41.14 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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.000249/0.3983, allocations: 139.2 kB / 394.2 MB, free: 41.03 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003132/0.4014, allocations: 1.59 MB / 395.8 MB, free: 40.29 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.4014, allocations: 5.078 kB / 395.8 MB, free: 40.29 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001712/0.4031, allocations: 0.8434 MB / 396.6 MB, free: 39.79 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00257/0.4057, allocations: 377.2 kB / 397 MB, free: 39.69 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006201/0.412, allocations: 3.692 MB / 400.7 MB, free: 37.5 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/0.4132, allocations: 1.501 MB / 402.2 MB, free: 36.64 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001588/0.4148, allocations: 353.8 kB / 402.5 MB, free: 36.48 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003642/0.4152, allocations: 117.2 kB / 402.6 MB, free: 36.46 MB / 318.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4152, allocations: 0 / 402.6 MB, free: 36.46 MB / 318.1 MB Notification: Performance of Templates: time 0.04257/0.4578, allocations: 18.62 MB / 421.3 MB, free: 19.03 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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