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.001453/0.001453, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.00151/0.00151, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.496/1.496, allocations: 230.5 MB / 258.1 MB, free: 7.766 MB / 206.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.002263/0.002263, allocations: 63.89 kB / 379 MB, free: 2.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2496, allocations: 53.4 MB / 432.4 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01626/0.2658, allocations: 11.84 MB / 444.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009675/0.2755, allocations: 4.295 MB / 448.5 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002643/0.2781, allocations: 95.44 kB / 448.6 MB, free: 6.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003549/0.2817, allocations: 0.9786 MB / 449.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00513/0.2868, allocations: 1.317 MB / 450.9 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002838/0.2897, allocations: 0.8793 MB / 451.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006074/0.2957, allocations: 4.085 MB / 455.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003517/0.2993, allocations: 1.703 MB / 457.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003184/0.3024, allocations: 1.959 MB / 459.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003941/0.3064, allocations: 2.152 MB / 461.7 MB, free: 9.035 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001347/0.3077, allocations: 0.5078 MB / 462.2 MB, free: 8.527 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002145/0.3099, allocations: 0.7107 MB / 462.9 MB, free: 7.816 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00179/0.3117, allocations: 1.149 MB / 464.1 MB, free: 6.664 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003292/0.315, allocations: 1.684 MB / 465.8 MB, free: 4.973 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009062/0.324, allocations: 6.832 MB / 472.6 MB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.324, allocations: 0 / 472.6 MB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.324, allocations: 0 / 472.6 MB, free: 14.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001802/0.3242, allocations: 4 kB / 472.6 MB, free: 14.12 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.01259/0.3368, allocations: 4.451 MB / 477 MB, free: 9.605 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.3368, allocations: 11.98 kB / 477.1 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004654/0.3415, allocations: 0.8417 MB / 477.9 MB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006212/0.3477, allocations: 2.44 MB / 480.3 MB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002432/0.3479, allocations: 238.6 kB / 480.6 MB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008071/0.3487, allocations: 319.8 kB / 480.9 MB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009558/0.3583, allocations: 4.412 MB / 485.3 MB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.011e-05/0.3584, allocations: 7.953 kB / 485.3 MB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003278/0.3587, allocations: 128 kB / 485.4 MB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001797/0.3589, allocations: 146.2 kB / 485.6 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007522/0.3664, allocations: 3.667 MB / 489.2 MB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02199/0.3884, allocations: 11.45 MB / 0.489 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005306/0.3937, allocations: 2.591 MB / 0.4915 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002462/0.3962, allocations: 1.305 MB / 0.4928 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006459/0.4026, allocations: 3.042 MB / 0.4957 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.379e-05/0.4027, allocations: 51.56 kB / 0.4958 GB, free: 10.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 4.548e-06/0.4027, allocations: 3.938 kB / 0.4958 GB, free: 10.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.014/0.4167, allocations: 6.057 MB / 0.5017 GB, free: 4.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.4168, allocations: 64.72 kB / 0.5018 GB, free: 4.406 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002737/0.4195, allocations: 1.695 MB / 0.5034 GB, free: 2.703 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001296/0.4196, allocations: 49.7 kB / 0.5035 GB, free: 2.648 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001212/0.4208, allocations: 1.493 MB / 0.5049 GB, free: 1.141 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004794/0.4213, allocations: 0.519 MB / 0.5054 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004959/0.4218, allocations: 307.5 kB / 0.5057 GB, free: 320 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.422, allocations: 301.1 kB / 0.506 GB, free: 16 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/0.4233, allocations: 0.7613 MB / 0.5067 GB, free: 15.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00176/0.4251, allocations: 1.249 MB / 0.508 GB, free: 13.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003201/0.4283, allocations: 2.111 MB / 0.51 GB, free: 11.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.4283, allocations: 4 kB / 0.51 GB, free: 11.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004896/0.4332, allocations: 2.649 MB / 0.5126 GB, free: 8.836 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.4332, allocations: 12 kB / 0.5126 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.752e-05/0.4332, allocations: 16.22 kB / 0.5126 GB, free: 8.809 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/0.4346, allocations: 0.5014 MB / 0.5131 GB, free: 8.301 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.436, allocations: 383.4 kB / 0.5135 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00888/0.4449, allocations: 6.561 MB / 0.5199 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.4462, allocations: 80.06 kB / 0.52 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/0.4463, allocations: 75.98 kB / 0.5201 GB, free: 1.008 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.001776/0.4481, allocations: 1.059 MB / 0.5211 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003248/0.4485, allocations: 194.7 kB / 0.5213 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004385/0.4528, allocations: 2.321 MB / 0.5235 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.4529, allocations: 12 kB / 0.5236 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.4529, allocations: 8 kB / 0.5236 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.4529, allocations: 11.91 kB / 0.5236 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008451/0.4613, allocations: 4.623 MB / 0.5281 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.4613, allocations: 0 / 0.5281 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.4623, allocations: 219.7 kB / 0.5283 GB, free: 8.438 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001318/0.4637, allocations: 0.496 MB / 0.5288 GB, free: 7.926 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.806e-05/0.4638, allocations: 39.98 kB / 0.5288 GB, free: 7.887 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2076/0.6714, allocations: 10.67 MB / 0.5392 GB, free: 97.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.6714, allocations: 1.469 kB / 0.5392 GB, free: 97.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005938/0.6773, allocations: 3.396 MB / 0.5426 GB, free: 95.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001168/0.6785, allocations: 372.8 kB / 0.5429 GB, free: 95.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004436/0.679, allocations: 33 kB / 0.5429 GB, free: 95.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.6801, allocations: 67.47 kB / 0.543 GB, free: 95.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003138/0.6804, allocations: 115.5 kB / 0.5431 GB, free: 95.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.6805, allocations: 43.33 kB / 0.5432 GB, free: 95.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001995/0.6825, allocations: 1.15 MB / 0.5443 GB, free: 95.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6825, allocations: 3.281 kB / 0.5443 GB, free: 95.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002016/0.6845, allocations: 0.585 MB / 0.5449 GB, free: 95.2 MB / 446.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.0003199/0.6849, allocations: 167.2 kB / 0.545 GB, free: 95.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003505/0.6884, allocations: 2.328 MB / 0.5473 GB, free: 94.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.6884, allocations: 0 / 0.5473 GB, free: 94.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00203/0.6904, allocations: 1.658 MB / 0.5489 GB, free: 93.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001869/0.6923, allocations: 444.4 kB / 0.5493 GB, free: 92.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008029/0.7003, allocations: 6.011 MB / 0.5552 GB, free: 88.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001419/0.7017, allocations: 1.768 MB / 0.5569 GB, free: 87.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005319/0.7023, allocations: 138.5 kB / 0.5571 GB, free: 87.43 MB / 446.1 MB Notification: Performance of SimCode: time 7.91e-07/0.7023, allocations: 4 kB / 0.5571 GB, free: 87.43 MB / 446.1 MB Notification: Performance of Templates: time 0.07668/0.7789, allocations: 98.52 MB / 0.6533 GB, free: 5.836 MB / 462.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 -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: 13.699583859182894]