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.001806/0.001806, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 14.72 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.002171/0.002171, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 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 1.499/1.499, allocations: 177.2 MB / 204.9 MB, free: 8.887 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001495/0.001495, allocations: 50.55 kB / 325.6 MB, free: 256 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08803/0.08953, allocations: 53.35 MB / 378.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01456/0.1041, allocations: 11.83 MB / 390.8 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006888/0.111, allocations: 4.291 MB / 395 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008277/0.1118, allocations: 99.44 kB / 395.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002116/0.1139, allocations: 0.9863 MB / 396.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002776/0.1167, allocations: 1.309 MB / 397.4 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001816/0.1185, allocations: 0.8765 MB / 398.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004313/0.1228, allocations: 4.07 MB / 402.4 MB, free: 8.055 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002323/0.1251, allocations: 1.714 MB / 404.1 MB, free: 6.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002251/0.1274, allocations: 1.947 MB / 406 MB, free: 4.316 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002893/0.1303, allocations: 2.156 MB / 408.2 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006376/0.1309, allocations: 0.5078 MB / 408.7 MB, free: 1.645 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.1321, allocations: 0.7107 MB / 409.4 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001055/0.1332, allocations: 1.149 MB / 410.6 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001804/0.135, allocations: 1.692 MB / 412.3 MB, free: 14.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006721/0.1417, allocations: 6.833 MB / 419.1 MB, free: 7.227 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1417, allocations: 0 / 419.1 MB, free: 7.227 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1417, allocations: 3.938 kB / 419.1 MB, free: 7.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.35e-05/0.1418, allocations: 0 / 419.1 MB, free: 7.223 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.009984/0.1518, allocations: 4.447 MB / 423.5 MB, free: 2.715 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.1518, allocations: 12.03 kB / 423.6 MB, free: 2.703 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004514/0.1563, allocations: 0.8378 MB / 424.4 MB, free: 1.863 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004538/0.1609, allocations: 2.44 MB / 426.8 MB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001921/0.1611, allocations: 242.5 kB / 427.1 MB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004832/0.1616, allocations: 311.9 kB / 427.4 MB, free: 14.83 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007038/0.1686, allocations: 4.408 MB / 431.8 MB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.182e-05/0.1687, allocations: 7.891 kB / 431.8 MB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003021/0.169, allocations: 132 kB / 431.9 MB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000153/0.1691, allocations: 146.2 kB / 432.1 MB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00628/0.1754, allocations: 3.663 MB / 435.7 MB, free: 6.383 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01843/0.1938, allocations: 11.47 MB / 447.2 MB, free: 10.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005124/0.199, allocations: 2.588 MB / 449.8 MB, free: 8.125 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002283/0.2012, allocations: 1.309 MB / 451.1 MB, free: 6.816 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005619/0.2069, allocations: 3.034 MB / 454.1 MB, free: 3.758 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.2069, allocations: 47.55 kB / 454.2 MB, free: 3.703 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 2.906e-06/0.2069, allocations: 0 / 454.2 MB, free: 3.703 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.0133/0.2202, allocations: 6.072 MB / 460.2 MB, free: 13.58 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.2203, allocations: 68.72 kB / 460.3 MB, free: 13.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002408/0.2227, allocations: 1.691 MB / 462 MB, free: 11.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.2228, allocations: 53.7 kB / 462.1 MB, free: 11.74 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001193/0.224, allocations: 1.493 MB / 463.6 MB, free: 10.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004648/0.2244, allocations: 0.5152 MB / 464.1 MB, free: 9.719 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005065/0.2249, allocations: 303.5 kB / 464.4 MB, free: 9.418 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.225, allocations: 309.1 kB / 464.7 MB, free: 9.113 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/0.2263, allocations: 0.7613 MB / 465.4 MB, free: 8.352 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/0.228, allocations: 1.253 MB / 466.7 MB, free: 6.898 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003124/0.2312, allocations: 2.108 MB / 468.8 MB, free: 4.602 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.2312, allocations: 4 kB / 468.8 MB, free: 4.598 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004614/0.2358, allocations: 2.645 MB / 471.4 MB, free: 1.938 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.2358, allocations: 8 kB / 471.4 MB, free: 1.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/0.2358, allocations: 19.94 kB / 471.5 MB, free: 1.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/0.2372, allocations: 0.5101 MB / 472 MB, free: 1.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/0.2387, allocations: 387.4 kB / 472.4 MB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1777/0.4164, allocations: 6.55 MB / 478.9 MB, free: 78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.4177, allocations: 77.22 kB / 479 MB, free: 77.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.4178, allocations: 73.77 kB / 479.1 MB, free: 77.96 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.001511/0.4193, allocations: 1.046 MB / 480.1 MB, free: 77.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002594/0.4196, allocations: 195.6 kB / 480.3 MB, free: 77.4 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003961/0.4236, allocations: 2.322 MB / 482.6 MB, free: 76.42 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.4236, allocations: 17.94 kB / 482.6 MB, free: 76.42 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/0.4236, allocations: 6.719 kB / 482.6 MB, free: 76.42 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-05/0.4236, allocations: 9.594 kB / 482.6 MB, free: 76.42 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00684/0.4304, allocations: 4.62 MB / 487.3 MB, free: 74.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-06/0.4304, allocations: 1.531 kB / 487.3 MB, free: 74.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.4315, allocations: 220.9 kB / 487.5 MB, free: 74.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001137/0.4326, allocations: 0.4946 MB / 488 MB, free: 74.13 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.534e-05/0.4327, allocations: 41 kB / 488 MB, free: 74.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007703/0.4404, allocations: 10.67 MB / 498.7 MB, free: 65.44 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4404, allocations: 6.469 kB / 498.7 MB, free: 65.44 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004311/0.4447, allocations: 3.389 MB / 0.4903 GB, free: 63.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006492/0.4453, allocations: 378 kB / 0.4907 GB, free: 63.83 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/0.4455, allocations: 31.16 kB / 0.4907 GB, free: 63.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008616/0.4464, allocations: 68.55 kB / 0.4908 GB, free: 63.79 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001942/0.4466, allocations: 116 kB / 0.4909 GB, free: 63.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-05/0.4467, allocations: 42.33 kB / 0.4909 GB, free: 63.76 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001258/0.4479, allocations: 1.146 MB / 0.492 GB, free: 63.31 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4479, allocations: 3.469 kB / 0.492 GB, free: 63.31 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001631/0.4496, allocations: 0.5921 MB / 0.4926 GB, free: 63.26 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.0002253/0.4498, allocations: 163.3 kB / 0.4928 GB, free: 63.14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003083/0.4529, allocations: 2.326 MB / 0.495 GB, free: 61.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4529, allocations: 4 kB / 0.4951 GB, free: 61.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001928/0.4548, allocations: 1.665 MB / 0.4967 GB, free: 60.17 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/0.4564, allocations: 432.1 kB / 0.4971 GB, free: 59.83 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006969/0.4634, allocations: 6.029 MB / 0.503 GB, free: 53.78 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001409/0.4648, allocations: 1.82 MB / 0.5048 GB, free: 51.93 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009203/0.4657, allocations: 399.5 kB / 0.5051 GB, free: 51.54 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002993/0.466, allocations: 128.5 kB / 0.5053 GB, free: 51.41 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.466, allocations: 0 / 0.5053 GB, free: 51.41 MB / 430.1 MB Notification: Performance of Templates: time 0.03952/0.5055, allocations: 29.08 MB / 0.5337 GB, free: 22.73 MB / 430.1 MB " [Timeout remaining time 659] 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 -s ida -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/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_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: 5.80244646104984]