Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008505/0.0008505, allocations: 92.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004888/0.004888, allocations: 158.5 kB / 24.7 MB, free: 8.906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8396/0.8396, allocations: 177 MB / 204.9 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.816e-05, allocations: 6.219 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01302/0.01305, allocations: 11.85 MB / 337.6 MB, free: 3.445 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006461/0.01951, allocations: 4.31 MB / 342 MB, free: 15.12 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009855/0.0205, allocations: 99.38 kB / 342 MB, free: 15.02 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001549/0.02205, allocations: 0.9821 MB / 343 MB, free: 14.03 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001862/0.02391, allocations: 1.347 MB / 344.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.02526, allocations: 0.8836 MB / 345.3 MB, free: 11.79 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002403/0.02766, allocations: 4.267 MB / 349.5 MB, free: 7.504 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.02905, allocations: 1.726 MB / 351.3 MB, free: 5.711 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002008/0.03105, allocations: 2.834 MB / 354.1 MB, free: 2.871 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001374/0.03243, allocations: 1.82 MB / 355.9 MB, free: 1.047 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003409/0.03277, allocations: 0.5078 MB / 356.4 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007368/0.0335, allocations: 0.7222 MB / 357.1 MB, free: 15.82 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005638/0.03407, allocations: 1.168 MB / 358.3 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008673/0.03494, allocations: 1.45 MB / 359.8 MB, free: 13.19 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003865/0.0388, allocations: 6.86 MB / 366.6 MB, free: 6.312 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.0388, allocations: 0 / 366.6 MB, free: 6.312 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.03881, allocations: 4 kB / 366.6 MB, free: 6.309 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.099e-05/0.03884, allocations: 0 / 366.6 MB, free: 6.309 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.005169/0.04401, allocations: 4.408 MB / 371 MB, free: 1.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.04404, allocations: 15.98 kB / 371 MB, free: 1.824 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002062/0.0461, allocations: 0.8417 MB / 371.9 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00246/0.04856, allocations: 2.431 MB / 374.3 MB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.04867, allocations: 238.5 kB / 374.6 MB, free: 14.26 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002879/0.04896, allocations: 316.3 kB / 374.9 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004168/0.05313, allocations: 4.416 MB / 379.3 MB, free: 9.449 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.683e-05/0.05317, allocations: 7.891 kB / 379.3 MB, free: 9.441 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002012/0.05337, allocations: 132 kB / 379.4 MB, free: 9.312 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.435e-05/0.05346, allocations: 142.2 kB / 379.6 MB, free: 9.172 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003655/0.05711, allocations: 3.655 MB / 383.2 MB, free: 5.508 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01003/0.06714, allocations: 11.47 MB / 394.7 MB, free: 9.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002765/0.0699, allocations: 2.593 MB / 397.3 MB, free: 7.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00129/0.0712, allocations: 1.304 MB / 398.6 MB, free: 5.945 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003035/0.07423, allocations: 3.045 MB / 401.6 MB, free: 2.875 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.07426, allocations: 43.56 kB / 401.7 MB, free: 2.824 MB / 362.7 MB Notification: Performance of pre-optimization done (n=124): time 4.979e-06/0.07426, allocations: 0 / 401.7 MB, free: 2.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=144): time 0.007073/0.08133, allocations: 6.076 MB / 407.7 MB, free: 12.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.08137, allocations: 64.72 kB / 407.8 MB, free: 12.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.08274, allocations: 1.687 MB / 409.5 MB, free: 10.92 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.271e-05/0.0828, allocations: 53.7 kB / 409.5 MB, free: 10.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006182/0.08342, allocations: 1.493 MB / 411 MB, free: 9.359 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002422/0.08366, allocations: 0.5151 MB / 411.5 MB, free: 8.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002865/0.08395, allocations: 303.5 kB / 411.8 MB, free: 8.539 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.785e-05/0.08402, allocations: 301.1 kB / 412.1 MB, free: 8.242 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007606/0.08478, allocations: 0.7574 MB / 412.9 MB, free: 7.484 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009504/0.08573, allocations: 1.253 MB / 414.2 MB, free: 6.035 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001766/0.08749, allocations: 2.115 MB / 416.3 MB, free: 3.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.0875, allocations: 4 kB / 416.3 MB, free: 3.727 MB / 378.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.002584/0.09009, allocations: 2.637 MB / 418.9 MB, free: 1.074 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.0901, allocations: 12 kB / 418.9 MB, free: 1.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.09012, allocations: 12 kB / 418.9 MB, free: 1.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000935/0.09105, allocations: 0.5089 MB / 419.4 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007178/0.09177, allocations: 383.4 kB / 419.8 MB, free: 164 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004999/0.09677, allocations: 6.556 MB / 426.4 MB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005437/0.09731, allocations: 75.91 kB / 426.4 MB, free: 9.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.757e-05/0.09739, allocations: 75.98 kB / 426.5 MB, free: 9.246 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (8,30,56.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001115/0.09851, allocations: 1.052 MB / 427.6 MB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.09866, allocations: 190.8 kB / 427.8 MB, free: 7.996 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00242/0.1011, allocations: 2.321 MB / 430.1 MB, free: 5.648 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.1011, allocations: 16 kB / 430.1 MB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.1011, allocations: 4 kB / 430.1 MB, free: 5.629 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.1011, allocations: 7.969 kB / 430.1 MB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004524/0.1056, allocations: 4.616 MB / 434.7 MB, free: 0.9258 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.1056, allocations: 3.938 kB / 434.7 MB, free: 0.9219 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000476/0.1061, allocations: 219.9 kB / 434.9 MB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006659/0.1068, allocations: 0.4982 MB / 435.4 MB, free: 200 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.816e-05/0.1068, allocations: 35.98 kB / 435.5 MB, free: 164 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005995/0.1128, allocations: 10.68 MB / 446.2 MB, free: 4.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1128, allocations: 0 / 446.2 MB, free: 4.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00318/0.116, allocations: 3.389 MB / 449.5 MB, free: 1.535 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004948/0.1165, allocations: 374.6 kB / 449.9 MB, free: 1.168 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.1166, allocations: 28 kB / 449.9 MB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004213/0.117, allocations: 71.94 kB / 450 MB, free: 1.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/0.1172, allocations: 117 kB / 450.1 MB, free: 0.957 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.163e-05/0.1173, allocations: 39.98 kB / 450.2 MB, free: 0.918 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.1389/0.2562, allocations: 1.149 MB / 451.3 MB, free: 111.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2562, allocations: 0.5 kB / 451.3 MB, free: 111.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002378/0.2585, allocations: 0.5882 MB / 451.9 MB, free: 111.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,loadInertia.phi) * 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 (102): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000282/0.2588, allocations: 163 kB / 452.1 MB, free: 111.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002514/0.2613, allocations: 2.321 MB / 454.4 MB, free: 110.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2613, allocations: 0 / 454.4 MB, free: 110.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001254/0.2626, allocations: 1.661 MB / 456 MB, free: 110.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.2637, allocations: 433.5 kB / 456.5 MB, free: 110.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005137/0.2688, allocations: 5.838 MB / 462.3 MB, free: 107.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/0.2699, allocations: 1.767 MB / 464.1 MB, free: 106.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/0.2702, allocations: 145.8 kB / 464.2 MB, free: 106.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.2702, allocations: 3.969 kB / 464.2 MB, free: 106.9 MB / 410.7 MB Notification: Performance of Templates: time 0.04344/0.3137, allocations: 98.52 MB / 0.5495 GB, free: 9.684 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.744504285976291]