Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=800,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=800,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008908/0.0008907, allocations: 172.2 kB / 17.39 MB, free: 4.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 223.3 MB / 241.4 MB, free: 9.906 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007613/0.0007612, allocations: 99.77 kB / 292.6 MB, free: 10.58 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002938/0.0002939, allocations: 12 kB / 352.4 MB, free: 14.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2095, allocations: 50.4 MB / 402.7 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.126/0.3356, allocations: 105.3 MB / 0.4962 GB, free: 6.977 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/0.336, allocations: 91.95 kB / 0.4963 GB, free: 6.887 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2829/0.6189, allocations: 39.48 MB / 0.5348 GB, free: 80.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.6189, allocations: 0 / 0.5348 GB, free: 80.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001474/0.6191, allocations: 39.94 kB / 0.5349 GB, free: 80.59 MB / 378.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.004108/0.6232, allocations: 1.942 MB / 0.5367 GB, free: 78.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.6233, allocations: 12.03 kB / 0.5368 GB, free: 78.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008026/0.6241, allocations: 230.5 kB / 0.537 GB, free: 78.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002597/0.6267, allocations: 1.324 MB / 0.5383 GB, free: 76.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.442e-05/0.6268, allocations: 115.4 kB / 0.5384 GB, free: 76.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003465/0.6271, allocations: 152.4 kB / 0.5385 GB, free: 76.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00326/0.6304, allocations: 1.991 MB / 0.5405 GB, free: 74.63 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.659e-05/0.6305, allocations: 12.08 kB / 0.5405 GB, free: 74.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/0.6306, allocations: 71.94 kB / 0.5406 GB, free: 74.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.36e-05/0.6307, allocations: 70.92 kB / 0.5406 GB, free: 74.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002561/0.6333, allocations: 1.577 MB / 0.5422 GB, free: 72.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008955/0.6423, allocations: 6.87 MB / 0.5489 GB, free: 65.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006305/0.6429, allocations: 490 kB / 0.5493 GB, free: 65.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003359/0.6433, allocations: 294 kB / 0.5496 GB, free: 64.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00231/0.6456, allocations: 1.462 MB / 0.551 GB, free: 63.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.6457, allocations: 34.56 kB / 0.5511 GB, free: 63.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 2.425e-06/0.6457, allocations: 0 / 0.5511 GB, free: 63.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=54): time 0.005786/0.6515, allocations: 3.134 MB / 0.5541 GB, free: 60.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001825/0.6533, allocations: 2.166 MB / 0.5563 GB, free: 57.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002092/0.6554, allocations: 1.561 MB / 0.5578 GB, free: 56.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.827e-05/0.6555, allocations: 37.7 kB / 0.5578 GB, free: 56.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000512/0.656, allocations: 1.033 MB / 0.5588 GB, free: 55.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/0.6562, allocations: 205.3 kB / 0.559 GB, free: 54.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.729e-05/0.6562, allocations: 32 kB / 0.559 GB, free: 54.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.129e-05/0.6563, allocations: 377.9 kB / 0.5594 GB, free: 54.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006845/0.657, allocations: 0.4919 MB / 0.5599 GB, free: 54.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009672/0.658, allocations: 1.414 MB / 0.5613 GB, free: 52.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001759/0.6598, allocations: 2.052 MB / 0.5633 GB, free: 49.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.879e-05/0.6598, allocations: 8 kB / 0.5633 GB, free: 49.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.00288/0.6627, allocations: 2.076 MB / 0.5653 GB, free: 47.6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.6627, allocations: 24.06 kB / 0.5653 GB, free: 47.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-05/0.6628, allocations: 32 kB / 0.5654 GB, free: 47.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004832/0.6632, allocations: 226.4 kB / 0.5656 GB, free: 47.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.6646, allocations: 375.3 kB / 0.5659 GB, free: 46.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.6658, allocations: 1.75 MB / 0.5676 GB, free: 45.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/0.6673, allocations: 131.5 kB / 0.5678 GB, free: 44.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.6674, allocations: 95.98 kB / 0.5679 GB, free: 44.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 148 * 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 (195): * Single equations (assignments): 192 * 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.0009848/0.6684, allocations: 0.5789 MB / 0.5684 GB, free: 44.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000274/0.6687, allocations: 146.2 kB / 0.5686 GB, free: 44.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/0.6704, allocations: 1.055 MB / 0.5696 GB, free: 43.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.6704, allocations: 4 kB / 0.5696 GB, free: 43.03 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.6704, allocations: 4 kB / 0.5696 GB, free: 43.03 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.6704, allocations: 3.984 kB / 0.5696 GB, free: 43.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00484/0.6753, allocations: 3.093 MB / 0.5726 GB, free: 39.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.6753, allocations: 7.984 kB / 0.5726 GB, free: 39.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003584/0.6757, allocations: 100.2 kB / 0.5727 GB, free: 39.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005462/0.6762, allocations: 226.3 kB / 0.5729 GB, free: 39.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.263e-05/0.6763, allocations: 16 kB / 0.573 GB, free: 39.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00287/0.6792, allocations: 3.729 MB / 0.5766 GB, free: 35.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001455/0.6806, allocations: 2.01 MB / 0.5786 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/0.6827, allocations: 1.622 MB / 0.5802 GB, free: 31.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006547/0.6834, allocations: 303.1 kB / 0.5804 GB, free: 31.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002904/0.6837, allocations: 11.98 kB / 0.5805 GB, free: 31.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007667/0.6844, allocations: 47.95 kB / 0.5805 GB, free: 31.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.6846, allocations: 63.86 kB / 0.5806 GB, free: 31.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-05/0.6846, allocations: 16 kB / 0.5806 GB, free: 31.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001716/0.6864, allocations: 1.031 MB / 0.5816 GB, free: 30.13 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6864, allocations: 0 / 0.5816 GB, free: 30.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001701/0.6881, allocations: 404 kB / 0.582 GB, free: 29.73 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (49): * Single equations (assignments): 46 * 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.0004338/0.6885, allocations: 370.1 kB / 0.5823 GB, free: 29.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001995/0.6905, allocations: 1.535 MB / 0.5838 GB, free: 27.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.6905, allocations: 4 kB / 0.5838 GB, free: 27.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.6916, allocations: 0.8044 MB / 0.5846 GB, free: 26.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002682/0.6943, allocations: 388.5 kB / 0.585 GB, free: 26.56 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005278/0.6996, allocations: 3.622 MB / 0.5885 GB, free: 22.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/0.7007, allocations: 1.468 MB / 0.5899 GB, free: 21.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001444/0.7022, allocations: 345.7 kB / 0.5903 GB, free: 21.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003209/0.7025, allocations: 111.4 kB / 0.5904 GB, free: 20.91 MB / 378.7 MB Notification: Performance of SimCode: time 8.12e-07/0.7025, allocations: 4 kB / 0.5904 GB, free: 20.9 MB / 378.7 MB Notification: Performance of Templates: time 0.0331/0.7356, allocations: 21.7 MB / 0.6116 GB, free: 15.39 MB / 394.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches