Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009777/0.0009777, allocations: 181.1 kB / 16.38 MB, free: 5.766 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.249/1.249, allocations: 223.2 MB / 240.3 MB, free: 10.14 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.0008765/0.0008765, allocations: 96.52 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002655/0.0002656, allocations: 8 kB / 351.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2653, allocations: 50.41 MB / 401.5 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1219/0.3872, allocations: 103.1 MB / 0.4928 GB, free: 9.281 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/0.3875, allocations: 91.95 kB / 0.4929 GB, free: 9.191 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2755/0.663, allocations: 41.12 MB / 0.533 GB, free: 81.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.663, allocations: 0 / 0.533 GB, free: 81.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000115/0.6632, allocations: 51.88 kB / 0.5331 GB, free: 81.04 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.003495/0.6667, allocations: 2.221 MB / 0.5353 GB, free: 78.76 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.6667, allocations: 12.03 kB / 0.5353 GB, free: 78.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005408/0.6672, allocations: 269.1 kB / 0.5355 GB, free: 78.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002232/0.6695, allocations: 1.412 MB / 0.5369 GB, free: 77.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.931e-05/0.6696, allocations: 139.5 kB / 0.537 GB, free: 76.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002132/0.6698, allocations: 195.9 kB / 0.5372 GB, free: 76.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002856/0.6727, allocations: 2.379 MB / 0.5395 GB, free: 74.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.165e-05/0.6727, allocations: 4 kB / 0.5396 GB, free: 74.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/0.6729, allocations: 72 kB / 0.5396 GB, free: 74.15 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.648e-05/0.6729, allocations: 87.48 kB / 0.5397 GB, free: 74.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002522/0.6754, allocations: 1.927 MB / 0.5416 GB, free: 72.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00902/0.6845, allocations: 7.495 MB / 0.5489 GB, free: 64.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/0.6861, allocations: 1.311 MB / 0.5502 GB, free: 63.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002326/0.6863, allocations: 142 kB / 0.5503 GB, free: 62.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.6863, allocations: 43.56 kB / 0.5504 GB, free: 62.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 3.216e-06/0.6864, allocations: 0 / 0.5504 GB, free: 62.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=103): time 0.007578/0.6939, allocations: 5.072 MB / 0.5553 GB, free: 57.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.694, allocations: 60.41 kB / 0.5554 GB, free: 57.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/0.6953, allocations: 1.198 MB / 0.5565 GB, free: 56.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.819e-05/0.6954, allocations: 41.7 kB / 0.5566 GB, free: 56.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003812/0.6958, allocations: 0.9008 MB / 0.5575 GB, free: 55.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.696, allocations: 358.8 kB / 0.5578 GB, free: 55.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.767e-05/0.696, allocations: 24 kB / 0.5578 GB, free: 55.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.702e-05/0.6961, allocations: 357.9 kB / 0.5582 GB, free: 54.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007822/0.6969, allocations: 0.6506 MB / 0.5588 GB, free: 54.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008749/0.6978, allocations: 0.9376 MB / 0.5597 GB, free: 52.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009316/0.6987, allocations: 0.7838 MB / 0.5605 GB, free: 52.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.6987, allocations: 4 kB / 0.5605 GB, free: 52.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003573/0.7023, allocations: 2.488 MB / 0.5629 GB, free: 49.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.7024, allocations: 8 kB / 0.5629 GB, free: 49.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.7024, allocations: 8 kB / 0.5629 GB, free: 49.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001724/0.7041, allocations: 0.7742 MB / 0.5637 GB, free: 48.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007408/0.7049, allocations: 231.7 kB / 0.5639 GB, free: 48.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008566/0.7134, allocations: 8.875 MB / 0.5726 GB, free: 39.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.7146, allocations: 88.16 kB / 0.5727 GB, free: 39.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.914e-05/0.7147, allocations: 44 kB / 0.5727 GB, free: 39.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001104/0.7159, allocations: 0.6262 MB / 0.5733 GB, free: 38.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.7161, allocations: 146.2 kB / 0.5735 GB, free: 38.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/0.7187, allocations: 1.948 MB / 0.5754 GB, free: 36.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.7188, allocations: 8 kB / 0.5754 GB, free: 36.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.7188, allocations: 4 kB / 0.5754 GB, free: 36.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.7188, allocations: 3.984 kB / 0.5754 GB, free: 36.63 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005355/0.7241, allocations: 4.043 MB / 0.5793 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.7242, allocations: 4 kB / 0.5793 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007594/0.7249, allocations: 191.7 kB / 0.5795 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001068/0.726, allocations: 467.9 kB / 0.58 GB, free: 31.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.129e-05/0.7261, allocations: 31.97 kB / 0.58 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004371/0.7305, allocations: 6.313 MB / 0.5861 GB, free: 25.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.7305, allocations: 4 kB / 0.5862 GB, free: 25.08 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003446/0.7339, allocations: 2.948 MB / 0.589 GB, free: 22.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000666/0.7346, allocations: 363.2 kB / 0.5894 GB, free: 21.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/0.7348, allocations: 27.94 kB / 0.5894 GB, free: 21.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007168/0.7355, allocations: 75.91 kB / 0.5895 GB, free: 21.58 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.7357, allocations: 80.89 kB / 0.5896 GB, free: 21.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.528e-05/0.7358, allocations: 31.94 kB / 0.5896 GB, free: 21.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001058/0.7368, allocations: 0.927 MB / 0.5905 GB, free: 20.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7368, allocations: 0 / 0.5905 GB, free: 20.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001308/0.7381, allocations: 472 kB / 0.5909 GB, free: 20.08 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w) * 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 (87): * Single equations (assignments): 83 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003993/0.7386, allocations: 300.9 kB / 0.5912 GB, free: 19.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0027/0.7413, allocations: 2.091 MB / 0.5933 GB, free: 17.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.7413, allocations: 4.562 kB / 0.5933 GB, free: 17.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00158/0.7429, allocations: 1.378 MB / 0.5946 GB, free: 16.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.7441, allocations: 348.8 kB / 0.595 GB, free: 15.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005436/0.7496, allocations: 4.781 MB / 0.5996 GB, free: 11.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/0.7507, allocations: 1.743 MB / 0.6013 GB, free: 9.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001083/0.7518, allocations: 312.1 kB / 0.6016 GB, free: 8.961 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/0.7521, allocations: 95.42 kB / 0.6017 GB, free: 8.871 MB / 378.7 MB Notification: Performance of SimCode: time 1.904e-06/0.7521, allocations: 0 / 0.6017 GB, free: 8.871 MB / 378.7 MB Notification: Performance of Templates: time 0.0369/0.789, allocations: 24.46 MB / 0.6256 GB, free: 0.6094 MB / 394.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches