Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007893/0.0007893, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003054/0.003054, allocations: 144.8 kB / 24.68 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8273/0.8273, allocations: 173.4 MB / 201.2 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 319.7 MB, free: 5.844 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.579e-05/1.69e-05, allocations: 4.812 kB / 319.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.008657/0.008674, allocations: 11.31 MB / 331 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005773/0.01445, allocations: 4.033 MB / 335.1 MB, free: 6.418 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000903/0.01535, allocations: 95.44 kB / 335.1 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00157/0.01692, allocations: 0.9744 MB / 336.1 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001831/0.01875, allocations: 1.366 MB / 337.5 MB, free: 3.969 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009849/0.01974, allocations: 0.8237 MB / 338.3 MB, free: 3.148 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002321/0.02206, allocations: 4.182 MB / 342.5 MB, free: 14.94 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/0.02347, allocations: 1.714 MB / 344.2 MB, free: 13.15 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001924/0.0254, allocations: 2.823 MB / 347 MB, free: 10.32 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00142/0.02682, allocations: 1.812 MB / 348.8 MB, free: 8.508 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003473/0.02716, allocations: 0.5078 MB / 349.4 MB, free: 8 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007015/0.02787, allocations: 0.6949 MB / 350 MB, free: 7.305 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005873/0.02845, allocations: 1.172 MB / 351.2 MB, free: 6.129 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009079/0.02936, allocations: 1.438 MB / 352.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003921/0.03328, allocations: 6.825 MB / 359.5 MB, free: 13.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.03329, allocations: 0 / 359.5 MB, free: 13.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.03329, allocations: 3.938 kB / 359.5 MB, free: 13.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.447e-05/0.03334, allocations: 0 / 359.5 MB, free: 13.84 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.005594/0.03894, allocations: 4.371 MB / 363.9 MB, free: 9.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.03897, allocations: 8.922 kB / 363.9 MB, free: 9.402 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001984/0.04095, allocations: 0.8339 MB / 364.7 MB, free: 8.566 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002459/0.04341, allocations: 2.407 MB / 367.1 MB, free: 6.109 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.04352, allocations: 230.6 kB / 367.3 MB, free: 5.883 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002994/0.04382, allocations: 320.3 kB / 367.6 MB, free: 5.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004321/0.04814, allocations: 4.405 MB / 372.1 MB, free: 1.078 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.846e-05/0.04819, allocations: 15.83 kB / 372.1 MB, free: 1.062 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002086/0.0484, allocations: 124 kB / 372.2 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.721e-05/0.04848, allocations: 146.2 kB / 372.3 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003769/0.05225, allocations: 3.655 MB / 376 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01094/0.0632, allocations: 11.44 MB / 387.4 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003007/0.0662, allocations: 2.573 MB / 390 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/0.06749, allocations: 1.3 MB / 391.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003173/0.07066, allocations: 3.018 MB / 394.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.07069, allocations: 43.56 kB / 394.4 MB, free: 10.53 MB / 362.7 MB Notification: Performance of pre-optimization done (n=124): time 2.054e-06/0.07069, allocations: 0 / 394.4 MB, free: 10.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=144): time 0.00789/0.07858, allocations: 6.049 MB / 400.4 MB, free: 4.426 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.07861, allocations: 72.66 kB / 400.5 MB, free: 4.344 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.08004, allocations: 1.662 MB / 402.1 MB, free: 2.672 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.14e-05/0.08011, allocations: 53.7 kB / 402.2 MB, free: 2.613 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006078/0.08071, allocations: 1.469 MB / 403.7 MB, free: 1.133 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000239/0.08095, allocations: 0.5073 MB / 404.2 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005363/0.08149, allocations: 299.5 kB / 404.5 MB, free: 332 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.337e-05/0.08155, allocations: 301.1 kB / 404.8 MB, free: 28 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007564/0.08231, allocations: 0.773 MB / 405.5 MB, free: 15.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009351/0.08324, allocations: 1.253 MB / 406.8 MB, free: 13.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001735/0.08498, allocations: 2.104 MB / 408.9 MB, free: 11.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.08499, allocations: 8 kB / 408.9 MB, free: 11.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.002834/0.08782, allocations: 2.637 MB / 411.5 MB, free: 8.848 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.08784, allocations: 12 kB / 411.5 MB, free: 8.836 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.08785, allocations: 12 kB / 411.6 MB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007363/0.08859, allocations: 0.5023 MB / 412.1 MB, free: 8.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007226/0.08931, allocations: 387.4 kB / 412.4 MB, free: 7.938 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005142/0.09445, allocations: 6.569 MB / 419 MB, free: 1.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000596/0.09505, allocations: 75.92 kB / 419.1 MB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.602e-05/0.09512, allocations: 71.98 kB / 419.1 MB, free: 1.016 MB / 378.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.00118/0.0963, allocations: 1.048 MB / 420.2 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.09646, allocations: 186.8 kB / 420.4 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002418/0.09888, allocations: 2.316 MB / 422.7 MB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.09888, allocations: 16 kB / 422.7 MB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.393e-06/0.09889, allocations: 8 kB / 422.7 MB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.0989, allocations: 7.969 kB / 422.7 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00487/0.1038, allocations: 4.6 MB / 427.3 MB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.1038, allocations: 7.938 kB / 427.3 MB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004893/0.1043, allocations: 215.7 kB / 427.5 MB, free: 8.496 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006748/0.1049, allocations: 0.4922 MB / 428 MB, free: 7.988 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.03e-05/0.105, allocations: 43.81 kB / 428.1 MB, free: 7.949 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006334/0.1113, allocations: 10.67 MB / 438.7 MB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.1113, allocations: 4.031 kB / 438.8 MB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003477/0.1148, allocations: 3.388 MB / 442.1 MB, free: 9.332 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005134/0.1153, allocations: 366.7 kB / 442.5 MB, free: 8.973 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.1154, allocations: 28 kB / 442.5 MB, free: 8.945 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004389/0.1159, allocations: 75.94 kB / 442.6 MB, free: 8.871 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/0.1161, allocations: 113 kB / 442.7 MB, free: 8.758 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.629e-05/0.1161, allocations: 43.98 kB / 442.8 MB, free: 8.715 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001093/0.1172, allocations: 1.125 MB / 443.9 MB, free: 7.594 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1172, allocations: 0 / 443.9 MB, free: 7.594 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001334/0.1186, allocations: 0.5897 MB / 444.5 MB, free: 7.004 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.0002512/0.1188, allocations: 167 kB / 444.6 MB, free: 6.832 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002375/0.1212, allocations: 2.309 MB / 446.9 MB, free: 4.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1212, allocations: 4 kB / 446.9 MB, free: 4.496 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001611/0.1228, allocations: 1.661 MB / 448.6 MB, free: 2.773 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.1238, allocations: 414.9 kB / 449 MB, free: 2.367 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1327/0.2565, allocations: 5.818 MB / 454.8 MB, free: 118.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/0.2576, allocations: 1.76 MB / 456.6 MB, free: 118.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003636/0.2579, allocations: 133 kB / 456.7 MB, free: 118.3 MB / 410.7 MB Notification: Performance of SimCode: time 8.11e-07/0.2579, allocations: 0 / 456.7 MB, free: 118.3 MB / 410.7 MB Notification: Performance of Templates: time 0.04073/0.2987, allocations: 97.37 MB / 0.5411 GB, free: 25.75 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.284046552143991]