Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007973/0.0007973, allocations: 87.67 kB / 21.44 MB, free: 3.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003294/0.003294, allocations: 152.5 kB / 24.69 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8512/0.8512, allocations: 177.1 MB / 205 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 325.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.988e-05/3.212e-05, allocations: 4.672 kB / 325.9 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01013/0.01016, allocations: 11.86 MB / 337.7 MB, free: 3.371 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007405/0.01756, allocations: 4.306 MB / 342 MB, free: 15.05 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00212/0.01968, allocations: 95.44 kB / 342.1 MB, free: 14.95 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002635/0.02232, allocations: 0.9899 MB / 343.1 MB, free: 13.96 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003379/0.0257, allocations: 1.343 MB / 344.4 MB, free: 12.61 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.02733, allocations: 0.8803 MB / 345.3 MB, free: 11.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004285/0.03162, allocations: 4.274 MB / 349.6 MB, free: 7.434 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002172/0.03379, allocations: 1.726 MB / 351.3 MB, free: 5.641 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003828/0.03762, allocations: 2.831 MB / 354.2 MB, free: 2.805 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003002/0.04062, allocations: 1.828 MB / 356 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00102/0.04164, allocations: 0.5078 MB / 356.5 MB, free: 476 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001577/0.04322, allocations: 0.7105 MB / 357.2 MB, free: 15.75 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001238/0.04445, allocations: 1.176 MB / 358.4 MB, free: 14.57 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002052/0.04651, allocations: 1.446 MB / 359.8 MB, free: 13.12 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006813/0.05332, allocations: 6.856 MB / 366.7 MB, free: 6.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.05333, allocations: 0 / 366.7 MB, free: 6.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.05333, allocations: 0 / 366.7 MB, free: 6.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001641/0.05349, allocations: 4 kB / 366.7 MB, free: 6.246 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.007429/0.06092, allocations: 4.412 MB / 371.1 MB, free: 1.773 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.06096, allocations: 12.03 kB / 371.1 MB, free: 1.762 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00253/0.06349, allocations: 0.8378 MB / 371.9 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003469/0.06696, allocations: 2.435 MB / 374.4 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.06708, allocations: 238.6 kB / 374.6 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004369/0.06752, allocations: 316.2 kB / 374.9 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005952/0.07347, allocations: 4.424 MB / 379.3 MB, free: 9.379 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.076e-05/0.07352, allocations: 3.953 kB / 379.3 MB, free: 9.375 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001986/0.07372, allocations: 128 kB / 379.5 MB, free: 9.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001002/0.07382, allocations: 146.2 kB / 379.6 MB, free: 9.105 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004403/0.07823, allocations: 3.651 MB / 383.3 MB, free: 5.445 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01401/0.09224, allocations: 11.47 MB / 394.7 MB, free: 9.668 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002965/0.0952, allocations: 2.596 MB / 397.3 MB, free: 7.176 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00139/0.09659, allocations: 1.301 MB / 398.6 MB, free: 5.875 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004093/0.1007, allocations: 3.038 MB / 401.7 MB, free: 2.812 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.1007, allocations: 51.5 kB / 401.7 MB, free: 2.754 MB / 362.7 MB Notification: Performance of pre-optimization done (n=124): time 2.986e-06/0.1007, allocations: 0 / 401.7 MB, free: 2.754 MB / 362.7 MB Notification: Performance of matching and sorting (n=144): time 0.008765/0.1095, allocations: 6.072 MB / 407.8 MB, free: 12.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.1095, allocations: 64.72 kB / 407.9 MB, free: 12.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/0.1114, allocations: 1.691 MB / 409.5 MB, free: 10.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.161e-05/0.1115, allocations: 49.7 kB / 409.6 MB, free: 10.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007888/0.1123, allocations: 1.497 MB / 411.1 MB, free: 9.297 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003137/0.1126, allocations: 0.5034 MB / 411.6 MB, free: 8.789 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003358/0.1129, allocations: 303.5 kB / 411.9 MB, free: 8.488 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.979e-05/0.113, allocations: 301.1 kB / 412.2 MB, free: 8.191 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008551/0.1139, allocations: 0.7613 MB / 413 MB, free: 7.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.1149, allocations: 1.257 MB / 414.2 MB, free: 5.977 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002035/0.117, allocations: 2.108 MB / 416.3 MB, free: 3.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/0.117, allocations: 4 kB / 416.3 MB, free: 3.676 MB / 378.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.003135/0.1201, allocations: 2.641 MB / 419 MB, free: 1.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.1202, allocations: 12 kB / 419 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.428e-05/0.1202, allocations: 19.94 kB / 419 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008527/0.121, allocations: 0.5013 MB / 419.5 MB, free: 492 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007695/0.1218, allocations: 383.3 kB / 419.9 MB, free: 108 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006227/0.128, allocations: 6.572 MB / 426.4 MB, free: 9.324 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.1293, allocations: 79.91 kB / 426.5 MB, free: 9.246 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.1294, allocations: 71.98 kB / 426.6 MB, free: 9.176 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.001641/0.1311, allocations: 1.052 MB / 427.6 MB, free: 8.113 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002607/0.1313, allocations: 190.8 kB / 427.8 MB, free: 7.926 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00266/0.134, allocations: 2.321 MB / 430.1 MB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.134, allocations: 16 kB / 430.2 MB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/0.134, allocations: 4 kB / 430.2 MB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.134, allocations: 11.97 kB / 430.2 MB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005363/0.1394, allocations: 4.616 MB / 434.8 MB, free: 0.8477 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.1394, allocations: 0 / 434.8 MB, free: 0.8477 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000537/0.1399, allocations: 219.9 kB / 435 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007447/0.1407, allocations: 0.4918 MB / 435.5 MB, free: 132 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-05/0.1407, allocations: 39.98 kB / 435.5 MB, free: 92 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006824/0.1476, allocations: 10.67 MB / 446.2 MB, free: 4.922 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.1476, allocations: 3.938 kB / 446.2 MB, free: 4.918 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003714/0.1513, allocations: 3.385 MB / 449.6 MB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000768/0.1521, allocations: 374.6 kB / 450 MB, free: 1.113 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/0.1522, allocations: 28 kB / 450 MB, free: 1.086 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004751/0.1527, allocations: 71.94 kB / 450.1 MB, free: 1.016 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002163/0.1529, allocations: 121 kB / 450.2 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.718e-05/0.1529, allocations: 43.98 kB / 450.2 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.1426/0.2955, allocations: 1.141 MB / 451.4 MB, free: 111.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2955, allocations: 0 / 451.4 MB, free: 111.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002333/0.2979, allocations: 0.591 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.0003241/0.2982, allocations: 171.5 kB / 452.1 MB, free: 111.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002683/0.3009, allocations: 2.318 MB / 454.4 MB, free: 110.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3009, allocations: 0 / 454.4 MB, free: 110.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001408/0.3023, allocations: 1.662 MB / 456.1 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.001391/0.3037, allocations: 443.7 kB / 456.5 MB, free: 110.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006142/0.3098, allocations: 5.827 MB / 462.4 MB, free: 107.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.3109, allocations: 1.77 MB / 464.1 MB, free: 107 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003968/0.3113, allocations: 146.4 kB / 464.3 MB, free: 106.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.343e-06/0.3113, allocations: 3.938 kB / 464.3 MB, free: 106.9 MB / 410.7 MB Notification: Performance of Templates: time 0.0503/0.3616, allocations: 98.52 MB / 0.5496 GB, free: 9.738 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 9.379421573132277]