Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6400,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6400,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001694/0.001694, allocations: 195.5 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007937/0.0007937, allocations: 83.38 kB / 292.1 MB, free: 5.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.275e-05/3.303e-05, allocations: 0 / 350.5 MB, free: 2.539 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1251, allocations: 51.48 MB / 402 MB, free: 15.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3262/0.4514, allocations: 106.5 MB / 0.4966 GB, free: 15.3 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/0.4517, allocations: 89.34 kB / 0.4967 GB, free: 15.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1076/0.5593, allocations: 39.61 MB / 0.5354 GB, free: 8.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.5594, allocations: 0 / 0.5354 GB, free: 8.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001706/0.5595, allocations: 39.94 kB / 0.5354 GB, free: 8.871 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 404 * Number of variables: 404 Notification: Performance of Generate backend data structure: time 0.004263/0.5638, allocations: 1.775 MB / 0.5372 GB, free: 7.047 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.5639, allocations: 8.031 kB / 0.5372 GB, free: 7.039 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.5649, allocations: 241.5 kB / 0.5374 GB, free: 6.801 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003183/0.5681, allocations: 1.289 MB / 0.5387 GB, free: 5.453 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.5683, allocations: 115.1 kB / 0.5388 GB, free: 5.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005086/0.5688, allocations: 148 kB / 0.5389 GB, free: 5.195 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004003/0.5728, allocations: 1.969 MB / 0.5408 GB, free: 3.137 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.979e-05/0.5729, allocations: 7.906 kB / 0.5408 GB, free: 3.129 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002019/0.5731, allocations: 67.98 kB / 0.5409 GB, free: 3.062 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.869e-05/0.5732, allocations: 70.94 kB / 0.541 GB, free: 2.992 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002892/0.5761, allocations: 1.546 MB / 0.5425 GB, free: 1.441 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01111/0.5872, allocations: 7 MB / 0.5493 GB, free: 10.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007912/0.5881, allocations: 494.8 kB / 0.5498 GB, free: 9.648 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003955/0.5885, allocations: 280 kB / 0.5501 GB, free: 9.371 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002658/0.5912, allocations: 1.436 MB / 0.5515 GB, free: 7.891 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.5912, allocations: 38.5 kB / 0.5515 GB, free: 7.844 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 2.845e-06/0.5912, allocations: 4 kB / 0.5515 GB, free: 7.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=58): time 0.005601/0.5968, allocations: 2.59 MB / 0.554 GB, free: 5.195 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.5969, allocations: 59.97 kB / 0.5541 GB, free: 5.125 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002491/0.5994, allocations: 1.369 MB / 0.5554 GB, free: 3.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.598e-05/0.5995, allocations: 41.69 kB / 0.5555 GB, free: 3.703 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008403/0.6003, allocations: 1.026 MB / 0.5565 GB, free: 2.664 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/0.6005, allocations: 225.1 kB / 0.5567 GB, free: 2.441 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.046e-05/0.6006, allocations: 32 kB / 0.5567 GB, free: 2.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.6008, allocations: 369.9 kB / 0.5571 GB, free: 2.043 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007392/0.6015, allocations: 479.8 kB / 0.5575 GB, free: 1.574 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/0.6028, allocations: 1.35 MB / 0.5588 GB, free: 15.79 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.6039, allocations: 0.7408 MB / 0.5596 GB, free: 15.05 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.221e-05/0.604, allocations: 11.94 kB / 0.5596 GB, free: 15.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003171/0.6072, allocations: 2.002 MB / 0.5615 GB, free: 13.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.6072, allocations: 20 kB / 0.5616 GB, free: 13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-05/0.6072, allocations: 31.94 kB / 0.5616 GB, free: 12.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005414/0.6078, allocations: 234.4 kB / 0.5618 GB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.6089, allocations: 391.5 kB / 0.5622 GB, free: 12.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/0.6104, allocations: 1.745 MB / 0.5639 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.6117, allocations: 135.5 kB / 0.564 GB, free: 10.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.6118, allocations: 88 kB / 0.5641 GB, free: 10.25 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 141 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0002378/0.612, allocations: 222.2 kB / 0.5643 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/0.6122, allocations: 154.1 kB / 0.5645 GB, free: 9.871 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001807/0.614, allocations: 0.9888 MB / 0.5654 GB, free: 8.859 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.6141, allocations: 11.95 kB / 0.5654 GB, free: 8.848 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6141, allocations: 0 / 0.5654 GB, free: 8.848 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.6141, allocations: 3.984 kB / 0.5654 GB, free: 8.844 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004423/0.6185, allocations: 2.609 MB / 0.568 GB, free: 6.145 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.6185, allocations: 0 / 0.568 GB, free: 6.145 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005049/0.619, allocations: 123.9 kB / 0.5681 GB, free: 6.023 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004214/0.6195, allocations: 170.4 kB / 0.5683 GB, free: 5.848 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.351e-05/0.6195, allocations: 15.98 kB / 0.5683 GB, free: 5.832 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002115/0.6216, allocations: 1.679 MB / 0.5699 GB, free: 4.023 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.6217, allocations: 4.031 kB / 0.5699 GB, free: 4.02 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003244/0.6249, allocations: 1.49 MB / 0.5714 GB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/0.626, allocations: 292.8 kB / 0.5717 GB, free: 2.188 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000471/0.6265, allocations: 15.98 kB / 0.5717 GB, free: 2.172 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/0.6278, allocations: 60 kB / 0.5717 GB, free: 2.113 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/0.6281, allocations: 40.5 kB / 0.5718 GB, free: 2.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.615e-05/0.6281, allocations: 12 kB / 0.5718 GB, free: 2.059 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003002/0.6311, allocations: 1.023 MB / 0.5728 GB, free: 1.039 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6312, allocations: 0 / 0.5728 GB, free: 1.039 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002689/0.6339, allocations: 391.9 kB / 0.5732 GB, free: 0.6562 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 53 * 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 Backend phase and start with SimCode phase: time 0.0007646/0.6346, allocations: 377.1 kB / 0.5735 GB, free: 308 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.2329/0.8675, allocations: 1.491 MB / 0.575 GB, free: 98.78 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.8676, allocations: 0 / 0.575 GB, free: 98.78 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009313/0.8685, allocations: 0.7093 MB / 0.5757 GB, free: 98.46 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/0.8706, allocations: 364.5 kB / 0.576 GB, free: 98.46 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00414/0.8748, allocations: 2.228 MB / 0.5782 GB, free: 97.91 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/0.8759, allocations: 1.502 MB / 0.5797 GB, free: 97.19 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001176/0.8771, allocations: 350.4 kB / 0.58 GB, free: 97.17 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/0.8773, allocations: 109.4 kB / 0.5801 GB, free: 97.17 MB / 442.7 MB Notification: Performance of SimCode: time 1.463e-06/0.8773, allocations: 2.969 kB / 0.5801 GB, free: 97.17 MB / 442.7 MB Notification: Performance of Templates: time 0.03658/0.9139, allocations: 21.3 MB / 0.6009 GB, free: 96.23 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches