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.001266/0.001266, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 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.001298/0.001298, allocations: 186 kB / 22.21 MB, free: 116 kB / 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.411/1.411, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] 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.001539/0.001539, allocations: 48.02 kB / 368.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2413, allocations: 52.14 MB / 420.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.0156/0.2569, allocations: 12.99 MB / 433.9 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009047/0.2659, allocations: 4.294 MB / 438.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002776/0.2687, allocations: 71.75 kB / 438.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00301/0.2717, allocations: 1.025 MB / 439.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004142/0.2759, allocations: 1.344 MB / 440.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002032/0.2779, allocations: 0.8483 MB / 441.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005158/0.2831, allocations: 4.012 MB / 445.5 MB, free: 6.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00256/0.2856, allocations: 1.772 MB / 447.2 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00286/0.2885, allocations: 1.904 MB / 449.1 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003299/0.2918, allocations: 2.148 MB / 451.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000845/0.2926, allocations: 0.5117 MB / 451.8 MB, free: 44 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.2942, allocations: 0.7068 MB / 452.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00117/0.2954, allocations: 1.141 MB / 453.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002682/0.2981, allocations: 2.128 MB / 455.8 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008409/0.3065, allocations: 6.772 MB / 462.5 MB, free: 5.262 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3065, allocations: 0 / 462.5 MB, free: 5.262 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3065, allocations: 4 kB / 462.6 MB, free: 5.258 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001347/0.3066, allocations: 3.984 kB / 462.6 MB, free: 5.254 MB / 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.01105/0.3177, allocations: 4.487 MB / 467 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.3177, allocations: 12.03 kB / 467.1 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004278/0.322, allocations: 0.8222 MB / 467.9 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00477/0.3267, allocations: 2.48 MB / 470.4 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002142/0.327, allocations: 238.6 kB / 470.6 MB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006768/0.3276, allocations: 316.1 kB / 470.9 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008465/0.3361, allocations: 4.258 MB / 475.2 MB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.252e-05/0.3362, allocations: 11.89 kB / 475.2 MB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004427/0.3366, allocations: 128 kB / 475.3 MB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001521/0.3368, allocations: 142.2 kB / 475.4 MB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007372/0.3441, allocations: 3.663 MB / 479.1 MB, free: 4.516 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02362/0.3678, allocations: 13.36 MB / 492.5 MB, free: 6.805 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007228/0.375, allocations: 6.74 MB / 499.2 MB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00253/0.3775, allocations: 1.309 MB / 0.4888 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006485/0.384, allocations: 3.628 MB / 0.4923 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.997e-05/0.3841, allocations: 47.55 kB / 0.4924 GB, free: 10.08 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 2.535e-06/0.3841, allocations: 0 / 0.4924 GB, free: 10.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01373/0.3978, allocations: 6.678 MB / 0.4989 GB, free: 3.203 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.3978, allocations: 64.72 kB / 0.4989 GB, free: 3.125 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002763/0.4006, allocations: 1.859 MB / 0.5008 GB, free: 1.266 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001143/0.4007, allocations: 57.64 kB / 0.5008 GB, free: 1.203 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001161/0.4019, allocations: 1.451 MB / 0.5022 GB, free: 15.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004489/0.4023, allocations: 0.5229 MB / 0.5027 GB, free: 15.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004876/0.4028, allocations: 307.5 kB / 0.503 GB, free: 14.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.4029, allocations: 301.1 kB / 0.5033 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.4042, allocations: 0.7574 MB / 0.5041 GB, free: 13.85 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001629/0.4058, allocations: 1.22 MB / 0.5053 GB, free: 12.44 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003363/0.4092, allocations: 2.111 MB / 0.5073 GB, free: 10.14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/0.4092, allocations: 4 kB / 0.5073 GB, free: 10.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004761/0.414, allocations: 2.649 MB / 0.5099 GB, free: 7.469 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.414, allocations: 12 kB / 0.5099 GB, free: 7.457 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/0.414, allocations: 12.28 kB / 0.5099 GB, free: 7.445 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001381/0.4154, allocations: 0.5137 MB / 0.5104 GB, free: 6.926 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.4168, allocations: 383.5 kB / 0.5108 GB, free: 6.551 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00902/0.4259, allocations: 6.935 MB / 0.5176 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.4273, allocations: 83.84 kB / 0.5176 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/0.4274, allocations: 71.98 kB / 0.5177 GB, free: 15.18 MB / 446.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.001798/0.4292, allocations: 1.048 MB / 0.5187 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003958/0.4296, allocations: 202.7 kB / 0.5189 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004525/0.4341, allocations: 2.488 MB / 0.5214 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/0.4341, allocations: 15.94 kB / 0.5214 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.4342, allocations: 8 kB / 0.5214 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/0.4342, allocations: 7.969 kB / 0.5214 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009225/0.4434, allocations: 5.517 MB / 0.5268 GB, free: 5.688 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.4434, allocations: 4 kB / 0.5268 GB, free: 5.684 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.4444, allocations: 219.7 kB / 0.527 GB, free: 5.469 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001367/0.4458, allocations: 0.495 MB / 0.5275 GB, free: 4.961 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/0.4459, allocations: 35.98 kB / 0.5275 GB, free: 4.926 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01219/0.4581, allocations: 11.43 MB / 0.5387 GB, free: 8.809 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.4581, allocations: 4.031 kB / 0.5387 GB, free: 8.805 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006013/0.4641, allocations: 3.563 MB / 0.5422 GB, free: 5.145 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/0.4652, allocations: 467.7 kB / 0.5426 GB, free: 4.668 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002651/0.4654, allocations: 28 kB / 0.5426 GB, free: 4.641 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009296/0.4664, allocations: 67.94 kB / 0.5427 GB, free: 4.574 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002936/0.4667, allocations: 121 kB / 0.5428 GB, free: 4.457 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-05/0.4668, allocations: 43.98 kB / 0.5429 GB, free: 4.414 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001977/0.4687, allocations: 1.278 MB / 0.5441 GB, free: 3.145 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4687, allocations: 0 / 0.5441 GB, free: 3.145 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001991/0.4707, allocations: 0.5898 MB / 0.5447 GB, free: 2.555 MB / 462.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.0003208/0.471, allocations: 159 kB / 0.5448 GB, free: 2.391 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00419/0.4752, allocations: 2.316 MB / 0.5471 GB, free: 52 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4752, allocations: 4 kB / 0.5471 GB, free: 48 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1694/0.6446, allocations: 1.659 MB / 0.5487 GB, free: 122 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/0.6469, allocations: 0.5143 MB / 0.5492 GB, free: 122 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008074/0.655, allocations: 6.053 MB / 0.5551 GB, free: 119.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001417/0.6564, allocations: 2.363 MB / 0.5574 GB, free: 118.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001109/0.6575, allocations: 417.3 kB / 0.5578 GB, free: 118.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/0.6578, allocations: 136.4 kB / 0.558 GB, free: 118.7 MB / 462.1 MB Notification: Performance of SimCode: time 1.182e-06/0.6578, allocations: 4 kB / 0.558 GB, free: 118.7 MB / 462.1 MB Notification: Performance of Templates: time 0.04102/0.6988, allocations: 32.45 MB / 0.5897 GB, free: 90.91 MB / 462.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 -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/jenkins/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/jenkins/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.936363193206489]