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.001425/0.001425, allocations: 84.66 kB / 20.95 MB, free: 3.453 MB / 18.57 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.001481/0.001481, allocations: 153.1 kB / 24.26 MB, free: 156 kB / 18.57 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.428/1.428, allocations: 173.4 MB / 200.8 MB, free: 9.293 MB / 186.7 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 1.433e-06/1.433e-06, allocations: 0 / 267.3 MB, free: 6.695 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.476e-05/3.619e-05, allocations: 6.25 kB / 267.3 MB, free: 6.688 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01681/0.01684, allocations: 11.32 MB / 278.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009315/0.02616, allocations: 4.041 MB / 282.7 MB, free: 7.246 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002028/0.02819, allocations: 95.44 kB / 282.8 MB, free: 7.152 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003329/0.03151, allocations: 0.9743 MB / 283.8 MB, free: 6.172 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004836/0.03635, allocations: 1.366 MB / 285.1 MB, free: 4.797 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002324/0.03868, allocations: 0.8176 MB / 286 MB, free: 3.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1152/0.1539, allocations: 4.189 MB / 290.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002573/0.1565, allocations: 1.718 MB / 291.9 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00407/0.1606, allocations: 2.816 MB / 294.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003065/0.1636, allocations: 1.809 MB / 296.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001217/0.1648, allocations: 0.507 MB / 297 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001778/0.1666, allocations: 0.7017 MB / 297.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001044/0.1677, allocations: 1.174 MB / 298.9 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002264/0.1699, allocations: 1.439 MB / 300.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006219/0.1761, allocations: 6.824 MB / 307.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1762, allocations: 0 / 307.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1762, allocations: 6 kB / 307.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001249/0.1763, allocations: 0 / 307.1 MB, free: 12.05 MB / 266.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.009478/0.1858, allocations: 4.373 MB / 311.5 MB, free: 9.113 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.1858, allocations: 11.33 kB / 311.5 MB, free: 9.113 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004291/0.1901, allocations: 1.234 MB / 312.8 MB, free: 8.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003455/0.1936, allocations: 2.512 MB / 315.3 MB, free: 6.914 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.1937, allocations: 235.8 kB / 315.5 MB, free: 6.809 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003967/0.1941, allocations: 318.9 kB / 315.8 MB, free: 6.605 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005712/0.1998, allocations: 4.413 MB / 320.2 MB, free: 2.117 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.261e-05/0.1998, allocations: 0 / 320.2 MB, free: 2.117 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002693/0.2001, allocations: 131.9 kB / 320.4 MB, free: 1.988 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-05/0.2002, allocations: 146.2 kB / 320.5 MB, free: 1.844 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005886/0.2061, allocations: 3.653 MB / 324.2 MB, free: 14.19 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02192/0.228, allocations: 11.69 MB / 335.8 MB, free: 2.488 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005557/0.2336, allocations: 2.586 MB / 338.4 MB, free: 60 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002651/0.2362, allocations: 1.307 MB / 339.7 MB, free: 14.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006643/0.2429, allocations: 3.039 MB / 342.8 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.534e-05/0.2429, allocations: 43.56 kB / 342.8 MB, free: 11.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=124): time 3.837e-06/0.2429, allocations: 0 / 342.8 MB, free: 11.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=144): time 0.0154/0.2583, allocations: 6.108 MB / 348.9 MB, free: 5.574 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/0.2584, allocations: 68.72 kB / 349 MB, free: 5.496 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002998/0.2614, allocations: 1.658 MB / 350.7 MB, free: 3.828 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001317/0.2615, allocations: 53.7 kB / 350.7 MB, free: 3.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001356/0.2629, allocations: 1.472 MB / 352.2 MB, free: 2.293 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005379/0.2634, allocations: 0.5097 MB / 352.7 MB, free: 1.789 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005742/0.264, allocations: 310.7 kB / 353 MB, free: 1.484 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.2642, allocations: 301.1 kB / 353.3 MB, free: 1.188 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00143/0.2656, allocations: 0.7652 MB / 354 MB, free: 428 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001915/0.2675, allocations: 1.249 MB / 355.3 MB, free: 14.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003416/0.2709, allocations: 2.108 MB / 357.4 MB, free: 12.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/0.2709, allocations: 4 kB / 357.4 MB, free: 12.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.005847/0.2768, allocations: 2.708 MB / 360.1 MB, free: 10.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/0.2768, allocations: 12.28 kB / 360.1 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.032e-05/0.2768, allocations: 19.98 kB / 360.1 MB, free: 10.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001957/0.2788, allocations: 0.5909 MB / 360.7 MB, free: 9.488 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/0.2804, allocations: 378 kB / 361.1 MB, free: 9.141 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01011/0.2905, allocations: 6.602 MB / 367.7 MB, free: 2.367 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.292, allocations: 80.05 kB / 367.8 MB, free: 2.289 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001576/0.2921, allocations: 76 kB / 367.9 MB, free: 2.215 MB / 314.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.001959/0.2941, allocations: 1.044 MB / 368.9 MB, free: 1.184 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000459/0.2946, allocations: 230.8 kB / 369.1 MB, free: 0.957 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004747/0.2993, allocations: 2.322 MB / 371.5 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.2993, allocations: 12 kB / 371.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/0.2993, allocations: 8 kB / 371.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.2993, allocations: 7.969 kB / 371.5 MB, free: 14.6 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008806/0.3082, allocations: 4.606 MB / 376.1 MB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.335e-06/0.3082, allocations: 4 kB / 376.1 MB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/0.3093, allocations: 225.5 kB / 376.3 MB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001812/0.3111, allocations: 0.5733 MB / 376.9 MB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/0.3112, allocations: 31.98 kB / 376.9 MB, free: 9.156 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01307/0.3242, allocations: 10.72 MB / 387.6 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.3243, allocations: 8.094 kB / 387.6 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006486/0.3307, allocations: 3.432 MB / 391.1 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/0.3317, allocations: 366.7 kB / 391.4 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002532/0.332, allocations: 36 kB / 391.5 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009154/0.3329, allocations: 71.69 kB / 391.5 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003075/0.3332, allocations: 117 kB / 391.7 MB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/0.3333, allocations: 39.98 kB / 391.7 MB, free: 9.922 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001942/0.3353, allocations: 1.125 MB / 392.8 MB, free: 8.801 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3353, allocations: 0 / 392.8 MB, free: 8.801 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002177/0.3374, allocations: 0.5781 MB / 393.4 MB, free: 8.223 MB / 346.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.0003453/0.3378, allocations: 172.9 kB / 393.6 MB, free: 8.059 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004553/0.3423, allocations: 2.31 MB / 395.9 MB, free: 5.773 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3423, allocations: 448 / 395.9 MB, free: 5.773 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002964/0.3453, allocations: 1.669 MB / 397.5 MB, free: 4.059 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/0.3474, allocations: 433.7 kB / 398 MB, free: 3.645 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/0.3591, allocations: 5.934 MB / 403.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002469/0.3615, allocations: 1.815 MB / 405.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001422/0.363, allocations: 391.2 kB / 406.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004037/0.3634, allocations: 124.5 kB / 406.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of SimCode: time 1.694e-06/0.3634, allocations: 4 kB / 406.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of Templates: time 0.157/0.5204, allocations: 28.54 MB / 434.8 MB, free: 123.1 MB / 378.7 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.860817518085241]