Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc3.is.1.|aimc3.is.2.|aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.is.1.|aimcM.is.2.|aimcM.is.3.|aimcM.is.4.|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc3.is.1.|aimc3.is.2.|aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.is.1.|aimcM.is.2.|aimcM.is.3.|aimcM.is.4.|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 185.2 kB / 8.135 MB, free: 2.191 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.192/1.192, allocations: 221.4 MB / 229.9 MB, free: 3.062 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.000966/0.000966, allocations: 92.42 kB / 280.8 MB, free: 1.316 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.296e-06/8.446e-06, allocations: 4 kB / 336.5 MB, free: 9.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1908, allocations: 50.39 MB / 386.9 MB, free: 37.97 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1145/0.3053, allocations: 113.8 MB / 0.489 GB, free: 4.965 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003295/0.3057, allocations: 99.48 kB / 0.4891 GB, free: 4.871 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.6795/0.9852, allocations: 181.4 MB / 0.6662 GB, free: 36.15 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004517/0.9856, allocations: 193.3 kB / 0.6664 GB, free: 36.14 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2135 * Number of variables: 2135 Notification: Performance of Generate backend data structure: time 0.01924/1.005, allocations: 7.642 MB / 0.6738 GB, free: 33.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/1.005, allocations: 7.625 kB / 0.6739 GB, free: 33.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009377/1.014, allocations: 1.829 MB / 0.6756 GB, free: 33.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0141/1.028, allocations: 6.982 MB / 0.6825 GB, free: 32.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002767/1.029, allocations: 263.9 kB / 0.6827 GB, free: 32.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001654/1.03, allocations: 480.7 kB / 0.6832 GB, free: 32.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01761/1.048, allocations: 8.69 MB / 0.6917 GB, free: 32.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02423/1.072, allocations: 9.724 MB / 0.7011 GB, free: 31.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002616/1.073, allocations: 13.02 kB / 0.7012 GB, free: 31.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00137/1.074, allocations: 10.09 kB / 0.7012 GB, free: 31.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002386/1.074, allocations: 371.1 kB / 0.7015 GB, free: 31.62 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05806/1.132, allocations: 33.21 MB / 0.734 GB, free: 24.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003775/1.136, allocations: 2.643 MB / 0.7365 GB, free: 23.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004889/1.141, allocations: 3.68 MB / 0.7401 GB, free: 21.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01759/1.159, allocations: 10.26 MB / 0.7502 GB, free: 16.76 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.729e-05/1.159, allocations: 80.06 kB / 0.7502 GB, free: 16.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=399): time 6.382e-06/1.159, allocations: 0 / 0.7502 GB, free: 16.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=405): time 0.01922/1.178, allocations: 11.59 MB / 0.7616 GB, free: 11.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/1.178, allocations: 93.88 kB / 0.7616 GB, free: 11.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00434/1.182, allocations: 3.187 MB / 0.7648 GB, free: 10.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004046/1.183, allocations: 29.17 kB / 0.7648 GB, free: 10.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009561/1.184, allocations: 2.775 MB / 0.7675 GB, free: 8.129 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007232/1.184, allocations: 1.3 MB / 0.7688 GB, free: 7.098 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/1.185, allocations: 0 / 0.7688 GB, free: 7.098 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001701/1.185, allocations: 490.2 kB / 0.7692 GB, free: 6.711 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002569/1.187, allocations: 2.024 MB / 0.7712 GB, free: 5.875 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002792/1.19, allocations: 3.065 MB / 0.7742 GB, free: 2.855 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003683/1.194, allocations: 2.676 MB / 0.7768 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-05/1.194, allocations: 8 kB / 0.7768 GB, free: 0.5703 MB / 426.7 MB Notification: Performance of matching and sorting (n=572) (initialization): time 0.01708/1.211, allocations: 6.87 MB / 0.7835 GB, free: 12.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/1.211, allocations: 8 kB / 0.7835 GB, free: 12.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-05/1.211, allocations: 28 kB / 0.7836 GB, free: 12.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002026/1.213, allocations: 0.8096 MB / 0.7844 GB, free: 11.65 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004208/1.217, allocations: 0.9412 MB / 0.7853 GB, free: 10.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01379/1.231, allocations: 13.95 MB / 0.7989 GB, free: 13.13 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00362/1.235, allocations: 112.7 kB / 0.799 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004126/1.235, allocations: 175.8 kB / 0.7992 GB, free: 12.88 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 140 * Number of states: 0 () * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (509): * Single equations (assignments): 500 * 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: 7 * 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: 7 {(1,100.0%) 5,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(4,56.2%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006731/1.236, allocations: 222 kB / 0.7994 GB, free: 12.72 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007256/1.237, allocations: 446.2 kB / 0.7998 GB, free: 12.28 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01074/1.247, allocations: 6.134 MB / 0.8058 GB, free: 7.059 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-05/1.248, allocations: 36 kB / 0.8058 GB, free: 7.023 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.649e-05/1.248, allocations: 20 kB / 0.8059 GB, free: 7.004 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.238e-05/1.248, allocations: 21.33 kB / 0.8059 GB, free: 7.004 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02787/1.275, allocations: 13.81 MB / 0.8194 GB, free: 12.81 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.671e-05/1.276, allocations: 4.438 kB / 0.8194 GB, free: 12.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002441/1.278, allocations: 0.4913 MB / 0.8198 GB, free: 12.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003737/1.282, allocations: 1.381 MB / 0.8212 GB, free: 11.26 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003688/1.282, allocations: 45.52 kB / 0.8212 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1715/1.454, allocations: 22.48 MB / 0.8432 GB, free: 97.53 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/1.454, allocations: 3.969 kB / 0.8432 GB, free: 97.53 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01237/1.466, allocations: 9.36 MB / 0.8523 GB, free: 96.45 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002147/1.468, allocations: 0.9966 MB / 0.8533 GB, free: 96.36 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007503/1.469, allocations: 34.23 kB / 0.8533 GB, free: 96.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002153/1.471, allocations: 132.5 kB / 0.8535 GB, free: 96.36 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004609/1.472, allocations: 258.1 kB / 0.8537 GB, free: 96.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002356/1.472, allocations: 108.2 kB / 0.8538 GB, free: 96.36 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.003183/1.475, allocations: 2.377 MB / 0.8561 GB, free: 96.21 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004118/1.479, allocations: 1.337 MB / 0.8575 GB, free: 96.21 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorqueM.phi,aimc3.inertiaRotor.w,aimc3.stator.core.Phi.re,aimc3.stator.core.Phi.im,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque3.phi) * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (275): * Single equations (assignments): 266 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(6,72.2%) 46,(3,100.0%) 23,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006662/1.48, allocations: 460.6 kB / 0.8579 GB, free: 96.11 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007299/1.487, allocations: 5.927 MB / 0.8637 GB, free: 95.15 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/1.487, allocations: 5.906 kB / 0.8637 GB, free: 95.15 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005352/1.493, allocations: 3.936 MB / 0.8675 GB, free: 94.21 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005158/1.498, allocations: 0.8112 MB / 0.8683 GB, free: 94.19 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02211/1.52, allocations: 12.33 MB / 0.8804 GB, free: 91.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005298/1.525, allocations: 5.53 MB / 0.8858 GB, free: 90.94 MB / 474.7 MB Notification: Performance of SimCode: time 7.32e-07/1.525, allocations: 0 / 0.8858 GB, free: 90.94 MB / 474.7 MB Notification: Performance of Templates: time 0.1051/1.63, allocations: 68.47 MB / 0.9526 GB, free: 82.63 MB / 474.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/ComparisonPolyphase/IMC_DOL_Polyphase/IMC_DOL_Polyphase.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches