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.001728/0.001728, allocations: 77.7 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.001996/0.001996, allocations: 161.3 kB / 24.5 MB, free: 3.711 MB / 14.72 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 1.412/1.412, allocations: 177.1 MB / 204.7 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] 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 0.00201/0.00201, allocations: 62.22 kB / 325.5 MB, free: 168 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09629/0.0983, allocations: 53.39 MB / 378.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01553/0.1138, allocations: 11.84 MB / 390.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008699/0.1225, allocations: 4.299 MB / 395.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002143/0.1247, allocations: 95.44 kB / 395.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003129/0.1278, allocations: 0.9746 MB / 396.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004116/0.1319, allocations: 1.313 MB / 397.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002371/0.1343, allocations: 0.8801 MB / 398.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005227/0.1395, allocations: 4.077 MB / 402.4 MB, free: 7.852 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002467/0.142, allocations: 1.703 MB / 404.1 MB, free: 6.078 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002618/0.1446, allocations: 1.959 MB / 406.1 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003046/0.1477, allocations: 2.148 MB / 408.2 MB, free: 1.957 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006546/0.1483, allocations: 0.5078 MB / 408.7 MB, free: 1.449 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.1496, allocations: 0.7146 MB / 409.4 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001074/0.1507, allocations: 1.149 MB / 410.6 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001919/0.1526, allocations: 1.684 MB / 412.3 MB, free: 13.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00712/0.1597, allocations: 6.844 MB / 419.1 MB, free: 7.023 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1597, allocations: 0 / 419.1 MB, free: 7.023 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1597, allocations: 0 / 419.1 MB, free: 7.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.778e-05/0.1598, allocations: 3.938 kB / 419.1 MB, free: 7.02 MB / 382.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.01059/0.1704, allocations: 4.435 MB / 423.6 MB, free: 2.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.1705, allocations: 15.98 kB / 423.6 MB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004537/0.175, allocations: 0.8339 MB / 424.4 MB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004877/0.1799, allocations: 2.452 MB / 426.9 MB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001988/0.1801, allocations: 234.6 kB / 427.1 MB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005109/0.1806, allocations: 323.8 kB / 427.4 MB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007397/0.188, allocations: 4.408 MB / 431.8 MB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.022e-05/0.188, allocations: 7.891 kB / 431.8 MB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002974/0.1883, allocations: 124 kB / 431.9 MB, free: 10 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001561/0.1885, allocations: 150.2 kB / 432.1 MB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006371/0.1949, allocations: 3.659 MB / 435.8 MB, free: 6.184 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01856/0.2134, allocations: 11.47 MB / 447.2 MB, free: 10.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005018/0.2184, allocations: 2.584 MB / 449.8 MB, free: 7.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002247/0.2207, allocations: 1.309 MB / 451.1 MB, free: 6.621 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005459/0.2262, allocations: 3.03 MB / 454.1 MB, free: 3.566 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.2262, allocations: 43.56 kB / 454.2 MB, free: 3.516 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 2.555e-06/0.2262, allocations: 0 / 454.2 MB, free: 3.516 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01374/0.2399, allocations: 6.075 MB / 460.3 MB, free: 13.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.24, allocations: 68.72 kB / 460.3 MB, free: 13.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002626/0.2426, allocations: 1.691 MB / 462 MB, free: 11.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.2427, allocations: 53.7 kB / 462.1 MB, free: 11.56 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001117/0.2438, allocations: 1.489 MB / 463.6 MB, free: 10.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004406/0.2443, allocations: 0.5113 MB / 464.1 MB, free: 9.539 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004914/0.2448, allocations: 307.5 kB / 464.4 MB, free: 9.234 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.2449, allocations: 301.1 kB / 464.7 MB, free: 8.938 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.2462, allocations: 0.7652 MB / 465.4 MB, free: 8.172 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001708/0.2479, allocations: 1.253 MB / 466.7 MB, free: 6.719 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003156/0.2511, allocations: 2.104 MB / 468.8 MB, free: 4.426 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.377e-05/0.2511, allocations: 4 kB / 468.8 MB, free: 4.422 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004841/0.2559, allocations: 2.653 MB / 471.4 MB, free: 1.754 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.256, allocations: 12 kB / 471.5 MB, free: 1.742 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-05/0.256, allocations: 19.94 kB / 471.5 MB, free: 1.723 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001425/0.2574, allocations: 0.5056 MB / 472 MB, free: 1.211 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/0.2589, allocations: 375.4 kB / 472.4 MB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2048/0.4637, allocations: 6.562 MB / 478.9 MB, free: 77.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.4652, allocations: 85.67 kB / 479 MB, free: 77.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.4653, allocations: 70.48 kB / 479.1 MB, free: 77.85 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.001693/0.467, allocations: 1.046 MB / 480.1 MB, free: 77.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003596/0.4674, allocations: 194 kB / 480.3 MB, free: 77.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004175/0.4716, allocations: 2.324 MB / 482.6 MB, free: 76.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.4716, allocations: 12.97 kB / 482.6 MB, free: 76.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.4716, allocations: 8.188 kB / 482.6 MB, free: 76.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.962e-05/0.4716, allocations: 6.891 kB / 482.7 MB, free: 76.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008001/0.4796, allocations: 4.616 MB / 487.3 MB, free: 74.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/0.4796, allocations: 1.562 kB / 487.3 MB, free: 74.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009634/0.4806, allocations: 226.4 kB / 487.5 MB, free: 74.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001183/0.4818, allocations: 0.4939 MB / 488 MB, free: 74.01 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.986e-05/0.4819, allocations: 38.75 kB / 488 MB, free: 73.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00816/0.49, allocations: 10.68 MB / 498.7 MB, free: 65.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.49, allocations: 3.938 kB / 498.7 MB, free: 65.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004632/0.4946, allocations: 3.393 MB / 0.4903 GB, free: 63.83 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007446/0.4954, allocations: 373.9 kB / 0.4907 GB, free: 63.71 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/0.4956, allocations: 27.5 kB / 0.4907 GB, free: 63.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008405/0.4964, allocations: 71.31 kB / 0.4908 GB, free: 63.67 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000247/0.4967, allocations: 119.2 kB / 0.4909 GB, free: 63.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.007e-05/0.4968, allocations: 43.3 kB / 0.4909 GB, free: 63.64 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001362/0.4981, allocations: 1.151 MB / 0.4921 GB, free: 63.19 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4981, allocations: 0 / 0.4921 GB, free: 63.19 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001777/0.4999, allocations: 0.5854 MB / 0.4926 GB, free: 63.14 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.0002774/0.5002, allocations: 171.9 kB / 0.4928 GB, free: 63.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003264/0.5034, allocations: 2.316 MB / 0.4951 GB, free: 61.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5034, allocations: 4 kB / 0.4951 GB, free: 61.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002013/0.5055, allocations: 1.669 MB / 0.4967 GB, free: 59.92 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001931/0.5074, allocations: 435.9 kB / 0.4971 GB, free: 59.54 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00816/0.5155, allocations: 6.023 MB / 0.503 GB, free: 53.49 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001495/0.517, allocations: 1.82 MB / 0.5048 GB, free: 51.64 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001141/0.5182, allocations: 399.5 kB / 0.5051 GB, free: 51.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003015/0.5185, allocations: 120.5 kB / 0.5053 GB, free: 51.13 MB / 430.1 MB Notification: Performance of SimCode: time 9.11e-07/0.5185, allocations: 3.938 kB / 0.5053 GB, free: 51.12 MB / 430.1 MB Notification: Performance of Templates: time 0.03949/0.558, allocations: 29.07 MB / 0.5337 GB, free: 22.4 MB / 430.1 MB " [Timeout remaining time 659] 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 -s ida -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/jenkins1/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/jenkins1/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: 5.958100994001143]