Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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_DOL,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_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,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_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.254/1.254, allocations: 221.5 MB / 230.3 MB, free: 7.586 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008091/0.0008087, allocations: 93.31 kB / 281.2 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.639e-05/1.64e-05, allocations: 4 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08427/0.0843, allocations: 50.41 MB / 387.5 MB, free: 7.574 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3055/0.3898, allocations: 103.5 MB / 491 MB, free: 7.316 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/0.3901, allocations: 87.95 kB / 491.1 MB, free: 7.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1125/0.5026, allocations: 44.17 MB / 0.5227 GB, free: 10.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.5026, allocations: 0 / 0.5227 GB, free: 10.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001768/0.5028, allocations: 55.94 kB / 0.5227 GB, free: 10.68 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005681/0.5085, allocations: 2.195 MB / 0.5249 GB, free: 8.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.5086, allocations: 8.031 kB / 0.5249 GB, free: 8.422 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009417/0.5095, allocations: 292.8 kB / 0.5252 GB, free: 8.133 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002724/0.5123, allocations: 1.539 MB / 0.5267 GB, free: 6.535 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.109e-05/0.5123, allocations: 64 kB / 0.5267 GB, free: 6.473 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000248/0.5126, allocations: 127.9 kB / 0.5268 GB, free: 6.348 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003351/0.5159, allocations: 2.019 MB / 0.5288 GB, free: 4.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003629/0.5196, allocations: 2.347 MB / 0.5311 GB, free: 1.844 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.128e-05/0.5197, allocations: 4 kB / 0.5311 GB, free: 1.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/0.5198, allocations: 4 kB / 0.5311 GB, free: 1.836 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/0.5199, allocations: 91.88 kB / 0.5312 GB, free: 1.746 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.012/0.5319, allocations: 8.053 MB / 0.5391 GB, free: 9.477 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/0.5338, allocations: 1.726 MB / 0.5408 GB, free: 7.641 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/0.5349, allocations: 0.8599 MB / 0.5416 GB, free: 6.773 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002859/0.5352, allocations: 138.3 kB / 0.5417 GB, free: 6.621 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.5353, allocations: 47.88 kB / 0.5418 GB, free: 6.562 MB / 426.7 MB Notification: Performance of pre-optimization done (n=107): time 2.996e-06/0.5353, allocations: 0 / 0.5418 GB, free: 6.562 MB / 426.7 MB Notification: Performance of matching and sorting (n=123): time 0.007836/0.5431, allocations: 4.355 MB / 0.546 GB, free: 2.148 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.5432, allocations: 68.66 kB / 0.5461 GB, free: 2.066 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/0.5447, allocations: 1.096 MB / 0.5472 GB, free: 0.9648 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.314e-05/0.5448, allocations: 25.7 kB / 0.5472 GB, free: 0.9336 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2082/0.753, allocations: 0.9723 MB / 0.5481 GB, free: 109.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007798/0.7538, allocations: 408.4 kB / 0.5485 GB, free: 109.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.7539, allocations: 0 / 0.5485 GB, free: 109.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.7541, allocations: 362.7 kB / 0.5489 GB, free: 109 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/0.7554, allocations: 0.6776 MB / 0.5495 GB, free: 109 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.7565, allocations: 0.9678 MB / 0.5505 GB, free: 108.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.7578, allocations: 0.8169 MB / 0.5513 GB, free: 108.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/0.7578, allocations: 3.188 kB / 0.5513 GB, free: 108.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00371/0.7615, allocations: 2.127 MB / 0.5534 GB, free: 108.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.7616, allocations: 9.047 kB / 0.5534 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/0.7616, allocations: 11.5 kB / 0.5534 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009166/0.7625, allocations: 402.5 kB / 0.5538 GB, free: 108.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/0.7638, allocations: 338.6 kB / 0.5541 GB, free: 108.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004152/0.768, allocations: 4.427 MB / 0.5584 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.7694, allocations: 63.55 kB / 0.5585 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/0.7696, allocations: 53.55 kB / 0.5585 GB, free: 106.1 MB / 426.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: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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: 2 * 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: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002837/0.7699, allocations: 138.6 kB / 0.5587 GB, free: 105.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002624/0.7701, allocations: 151.1 kB / 0.5588 GB, free: 105.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003572/0.7737, allocations: 1.994 MB / 0.5607 GB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/0.7738, allocations: 11.66 kB / 0.5608 GB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/0.7738, allocations: 5.047 kB / 0.5608 GB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.098e-05/0.7738, allocations: 7.125 kB / 0.5608 GB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00766/0.7815, allocations: 4.148 MB / 0.5648 GB, free: 105.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.7815, allocations: 1.469 kB / 0.5648 GB, free: 105.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/0.7826, allocations: 236.3 kB / 0.565 GB, free: 105.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001319/0.784, allocations: 466.4 kB / 0.5655 GB, free: 105.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00014/0.7841, allocations: 19.88 kB / 0.5655 GB, free: 105.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005244/0.7894, allocations: 5.904 MB / 0.5713 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.864e-06/0.7894, allocations: 5.062 kB / 0.5713 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00468/0.7941, allocations: 3.143 MB / 0.5743 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009368/0.7951, allocations: 397.2 kB / 0.5747 GB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000253/0.7953, allocations: 7.781 kB / 0.5747 GB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000812/0.7962, allocations: 64.3 kB / 0.5748 GB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002527/0.7964, allocations: 108.5 kB / 0.5749 GB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.913e-05/0.7965, allocations: 35.28 kB / 0.5749 GB, free: 100.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001169/0.7977, allocations: 0.8303 MB / 0.5757 GB, free: 100.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.7977, allocations: 3.656 kB / 0.5757 GB, free: 100.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001663/0.7994, allocations: 424 kB / 0.5762 GB, free: 100.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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.0005208/0.7999, allocations: 284.4 kB / 0.5764 GB, free: 100.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002737/0.8026, allocations: 2.121 MB / 0.5785 GB, free: 99.19 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.8027, allocations: 2.953 kB / 0.5785 GB, free: 99.19 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001702/0.8044, allocations: 1.424 MB / 0.5799 GB, free: 98.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/0.8063, allocations: 325.7 kB / 0.5802 GB, free: 98.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00572/0.812, allocations: 3.6 MB / 0.5837 GB, free: 96.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/0.8133, allocations: 1.866 MB / 0.5855 GB, free: 95.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001435/0.8148, allocations: 374.5 kB / 0.5859 GB, free: 95.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003843/0.8152, allocations: 107.5 kB / 0.586 GB, free: 95.95 MB / 426.7 MB Notification: Performance of SimCode: time 8.52e-07/0.8152, allocations: 0 / 0.586 GB, free: 95.95 MB / 426.7 MB Notification: Performance of Templates: time 0.03179/0.847, allocations: 20.52 MB / 0.606 GB, free: 94.92 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches