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.001281/0.001281, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 14.72 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.001335/0.001335, allocations: 160.7 kB / 24.49 MB, free: 3.461 MB / 14.72 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 1.412/1.412, allocations: 173.4 MB / 201 MB, free: 12.61 MB / 190.1 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 0.001583/0.001583, allocations: 42.53 kB / 319.4 MB, free: 3.289 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08401/0.08559, allocations: 52.18 MB / 371.6 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01479/0.1004, allocations: 11.28 MB / 382.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007981/0.1084, allocations: 4.038 MB / 386.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001194/0.1096, allocations: 91.44 kB / 387 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002338/0.1119, allocations: 0.9669 MB / 388 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003326/0.1152, allocations: 1.34 MB / 389.3 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.117, allocations: 0.8028 MB / 390.1 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004601/0.1216, allocations: 4.027 MB / 394.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002394/0.124, allocations: 1.699 MB / 395.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002419/0.1265, allocations: 1.947 MB / 397.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002878/0.1293, allocations: 2.023 MB / 399.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006625/0.13, allocations: 0.5117 MB / 400.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.1312, allocations: 0.6989 MB / 401 MB, free: 9.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001108/0.1323, allocations: 1.137 MB / 402.2 MB, free: 8.609 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001874/0.1342, allocations: 1.681 MB / 403.8 MB, free: 6.922 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006984/0.1412, allocations: 6.794 MB / 410.6 MB, free: 108 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1412, allocations: 0 / 410.6 MB, free: 108 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1412, allocations: 0 / 410.6 MB, free: 108 kB / 366.1 MB Notification: Performance of Transformations before backend: time 8.503e-05/0.1413, allocations: 8 kB / 410.6 MB, free: 100 kB / 366.1 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.01034/0.1516, allocations: 4.408 MB / 415.1 MB, free: 11.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.1517, allocations: 12.86 kB / 415.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004338/0.156, allocations: 0.8339 MB / 415.9 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004684/0.1607, allocations: 2.4 MB / 418.3 MB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002131/0.1609, allocations: 238.6 kB / 418.5 MB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004801/0.1614, allocations: 312.1 kB / 418.8 MB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007429/0.1688, allocations: 4.408 MB / 423.2 MB, free: 3.293 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.366e-05/0.1689, allocations: 7.953 kB / 423.3 MB, free: 3.285 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003033/0.1692, allocations: 120 kB / 423.4 MB, free: 3.168 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001554/0.1694, allocations: 154.2 kB / 423.5 MB, free: 3.016 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006506/0.1759, allocations: 3.655 MB / 427.2 MB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01991/0.1958, allocations: 11.46 MB / 438.6 MB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005267/0.201, allocations: 2.576 MB / 441.2 MB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002416/0.2035, allocations: 1.301 MB / 442.5 MB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005927/0.2094, allocations: 3.01 MB / 445.5 MB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.479e-05/0.2094, allocations: 47.56 kB / 445.6 MB, free: 12.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 3.286e-06/0.2094, allocations: 0 / 445.6 MB, free: 12.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01382/0.2233, allocations: 6.052 MB / 451.6 MB, free: 6.621 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.2233, allocations: 64.72 kB / 451.7 MB, free: 6.547 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002438/0.2258, allocations: 1.67 MB / 453.4 MB, free: 4.867 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.545e-05/0.2259, allocations: 53.7 kB / 453.4 MB, free: 4.809 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001138/0.227, allocations: 1.477 MB / 454.9 MB, free: 3.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004545/0.2274, allocations: 0.5112 MB / 455.4 MB, free: 2.805 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005092/0.228, allocations: 303.5 kB / 455.7 MB, free: 2.504 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.2281, allocations: 305.1 kB / 456 MB, free: 2.203 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/0.2294, allocations: 0.7574 MB / 456.7 MB, free: 1.445 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001747/0.2312, allocations: 1.249 MB / 458 MB, free: 15.99 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00327/0.2344, allocations: 2.104 MB / 460.1 MB, free: 13.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.976e-06/0.2344, allocations: 8 kB / 460.1 MB, free: 13.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004823/0.2393, allocations: 2.637 MB / 462.7 MB, free: 11.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.2393, allocations: 16.28 kB / 462.8 MB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.2393, allocations: 12 kB / 462.8 MB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001403/0.2407, allocations: 0.5059 MB / 463.3 MB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/0.2422, allocations: 383.4 kB / 463.6 MB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0092/0.2514, allocations: 6.561 MB / 470.2 MB, free: 3.359 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.2527, allocations: 79.91 kB / 470.3 MB, free: 3.281 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/0.2528, allocations: 68 kB / 470.4 MB, free: 3.215 MB / 430.1 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.001741/0.2546, allocations: 1.052 MB / 471.4 MB, free: 2.152 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002963/0.2548, allocations: 186.8 kB / 471.6 MB, free: 1.969 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1709/0.4258, allocations: 2.311 MB / 473.9 MB, free: 88.11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.407e-05/0.4258, allocations: 17.62 kB / 473.9 MB, free: 88.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.701e-05/0.4258, allocations: 9.891 kB / 473.9 MB, free: 88.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.215e-05/0.4259, allocations: 6.75 kB / 473.9 MB, free: 88.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008116/0.434, allocations: 4.607 MB / 478.5 MB, free: 87.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.434, allocations: 2.469 kB / 478.5 MB, free: 87.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.435, allocations: 218.7 kB / 478.8 MB, free: 87.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001432/0.4365, allocations: 0.4965 MB / 479.3 MB, free: 86.99 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/0.4366, allocations: 35.55 kB / 479.3 MB, free: 86.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008488/0.4451, allocations: 10.68 MB / 490 MB, free: 78.28 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4451, allocations: 2.562 kB / 490 MB, free: 78.28 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005084/0.4502, allocations: 3.395 MB / 493.4 MB, free: 76.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009228/0.4511, allocations: 369.4 kB / 493.7 MB, free: 76.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001967/0.4513, allocations: 31.12 kB / 493.8 MB, free: 76.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008739/0.4522, allocations: 69.53 kB / 493.8 MB, free: 76.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002405/0.4524, allocations: 121 kB / 493.9 MB, free: 76.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-05/0.4525, allocations: 42.94 kB / 494 MB, free: 76.6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001464/0.454, allocations: 1.125 MB / 495.1 MB, free: 76.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.454, allocations: 0 / 495.1 MB, free: 76.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001695/0.4556, allocations: 0.5846 MB / 495.7 MB, free: 76.11 MB / 430.1 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.0002369/0.4559, allocations: 164.2 kB / 495.9 MB, free: 75.99 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003114/0.459, allocations: 2.325 MB / 498.2 MB, free: 74.97 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.459, allocations: 0 / 498.2 MB, free: 74.97 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001952/0.461, allocations: 1.656 MB / 499.8 MB, free: 73.97 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/0.4625, allocations: 428.6 kB / 0.4885 GB, free: 73.83 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007318/0.4698, allocations: 6.025 MB / 0.4944 GB, free: 69.19 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001425/0.4713, allocations: 1.811 MB / 0.4962 GB, free: 67.56 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009762/0.4722, allocations: 391.2 kB / 0.4966 GB, free: 67.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003004/0.4726, allocations: 124.5 kB / 0.4967 GB, free: 67.05 MB / 430.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4726, allocations: 4 kB / 0.4967 GB, free: 67.05 MB / 430.1 MB Notification: Performance of Templates: time 0.03874/0.5113, allocations: 28.6 MB / 0.5246 GB, free: 38.84 MB / 430.1 MB " [Timeout remaining time 659] 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 -s ida -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/jenkins1/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/jenkins1/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: 5.731063803075813]