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.0026/0.0026, allocations: 95.59 kB / 20.96 MB, free: 3.449 MB / 18.57 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.003074/0.003074, allocations: 156.9 kB / 24.27 MB, free: 152 kB / 18.57 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.605/1.605, allocations: 177 MB / 204.5 MB, free: 5.602 MB / 186.7 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 1.794e-06/1.794e-06, allocations: 0 / 272.2 MB, free: 1.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.893e-05/3.073e-05, allocations: 2.312 kB / 272.2 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03109/0.03112, allocations: 13.3 MB / 285.5 MB, free: 4.391 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1588/0.1899, allocations: 4.446 MB / 290 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002431/0.1923, allocations: 97.03 kB / 290.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003202/0.1955, allocations: 0.9893 MB / 291.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004354/0.1999, allocations: 1.349 MB / 292.4 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00268/0.2025, allocations: 0.8821 MB / 293.3 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006233/0.2088, allocations: 4.269 MB / 297.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00423/0.213, allocations: 1.732 MB / 299.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006135/0.2191, allocations: 2.857 MB / 302.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004335/0.2235, allocations: 1.994 MB / 304.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001746/0.2252, allocations: 0.5086 MB / 304.6 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002967/0.2282, allocations: 0.7218 MB / 305.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001459/0.2297, allocations: 1.197 MB / 306.6 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003236/0.2329, allocations: 1.456 MB / 308 MB, free: 9.715 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00662/0.2395, allocations: 6.907 MB / 314.9 MB, free: 4.641 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.2395, allocations: 0 / 314.9 MB, free: 4.641 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2395, allocations: 0 / 314.9 MB, free: 4.641 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001751/0.2397, allocations: 0 / 314.9 MB, free: 4.641 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.01189/0.2516, allocations: 5.07 MB / 320 MB, free: 15.55 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.2516, allocations: 15.17 kB / 320 MB, free: 15.54 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005878/0.2575, allocations: 1.253 MB / 321.3 MB, free: 14.29 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006006/0.2635, allocations: 2.381 MB / 323.6 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002745/0.2638, allocations: 237.5 kB / 323.9 MB, free: 11.73 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009364/0.2647, allocations: 316.3 kB / 324.2 MB, free: 11.43 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009665/0.2744, allocations: 4.484 MB / 328.7 MB, free: 6.855 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-05/0.2745, allocations: 3.953 kB / 328.7 MB, free: 6.852 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003448/0.2748, allocations: 135.5 kB / 328.8 MB, free: 6.723 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001809/0.275, allocations: 146.2 kB / 328.9 MB, free: 6.578 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007476/0.2825, allocations: 3.258 MB / 332.2 MB, free: 3.316 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03588/0.3184, allocations: 21.37 MB / 353.6 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005616/0.324, allocations: 2.416 MB / 356 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002521/0.3265, allocations: 1.189 MB / 357.2 MB, free: 9.512 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007268/0.3338, allocations: 3.129 MB / 360.3 MB, free: 6.398 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.597e-05/0.3338, allocations: 50.39 kB / 360.4 MB, free: 6.336 MB / 314.7 MB Notification: Performance of pre-optimization done (n=124): time 3.046e-06/0.3338, allocations: 0 / 360.4 MB, free: 6.336 MB / 314.7 MB Notification: Performance of matching and sorting (n=144): time 0.01422/0.348, allocations: 5.493 MB / 365.9 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/0.3481, allocations: 72.66 kB / 365.9 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003494/0.3516, allocations: 2.106 MB / 368 MB, free: 14.63 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002076/0.3518, allocations: 49.7 kB / 368.1 MB, free: 14.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001643/0.3534, allocations: 1.714 MB / 369.8 MB, free: 12.85 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006885/0.3541, allocations: 0.5737 MB / 370.4 MB, free: 12.28 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007058/0.3548, allocations: 405.1 kB / 370.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002335/0.3551, allocations: 480.8 kB / 371.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/0.3563, allocations: 0.6012 MB / 371.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002014/0.3583, allocations: 1.362 MB / 373.2 MB, free: 9.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003361/0.3617, allocations: 2.132 MB / 375.3 MB, free: 6.844 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.298e-05/0.3617, allocations: 4 kB / 375.3 MB, free: 6.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.005074/0.3668, allocations: 2.419 MB / 377.7 MB, free: 4.508 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/0.3668, allocations: 12 kB / 377.8 MB, free: 4.496 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.823e-05/0.3668, allocations: 12 kB / 377.8 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001922/0.3688, allocations: 0.5669 MB / 378.3 MB, free: 3.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/0.3704, allocations: 383.5 kB / 378.7 MB, free: 3.559 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01036/0.3807, allocations: 7.345 MB / 386.1 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/0.3822, allocations: 75.92 kB / 386.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001682/0.3824, allocations: 71.98 kB / 386.2 MB, free: 11.86 MB / 346.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.001829/0.3842, allocations: 0.9683 MB / 387.2 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005838/0.3848, allocations: 234.8 kB / 387.4 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004521/0.3893, allocations: 2.041 MB / 389.4 MB, free: 8.617 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.3893, allocations: 12 kB / 389.5 MB, free: 8.605 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/0.3893, allocations: 8 kB / 389.5 MB, free: 8.598 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/0.3894, allocations: 7.969 kB / 389.5 MB, free: 8.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01103/0.4004, allocations: 5.412 MB / 394.9 MB, free: 3.129 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.4004, allocations: 4 kB / 394.9 MB, free: 3.125 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/0.4015, allocations: 211.7 kB / 395.1 MB, free: 2.918 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001854/0.4034, allocations: 0.5654 MB / 395.7 MB, free: 2.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.4035, allocations: 36 kB / 395.7 MB, free: 2.305 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01439/0.4179, allocations: 13.25 MB / 408.9 MB, free: 4.465 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4179, allocations: 0 / 408.9 MB, free: 4.465 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005986/0.4239, allocations: 3.01 MB / 412 MB, free: 1.387 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/0.425, allocations: 350.7 kB / 412.3 MB, free: 1.043 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000258/0.4252, allocations: 39.92 kB / 412.3 MB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009111/0.4261, allocations: 55.95 kB / 412.4 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003191/0.4265, allocations: 127.6 kB / 412.5 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.4266, allocations: 43.98 kB / 412.6 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002066/0.4286, allocations: 1.223 MB / 413.8 MB, free: 15.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4286, allocations: 3.938 kB / 413.8 MB, free: 15.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002258/0.4309, allocations: 0.5937 MB / 414.4 MB, free: 14.96 MB / 378.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.0003815/0.4313, allocations: 164 kB / 414.5 MB, free: 14.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004831/0.4361, allocations: 2.324 MB / 416.9 MB, free: 12.44 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.4361, allocations: 4 kB / 416.9 MB, free: 12.44 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003047/0.4392, allocations: 1.91 MB / 418.8 MB, free: 10.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002291/0.4414, allocations: 456 kB / 419.2 MB, free: 10.01 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.4526, allocations: 5.63 MB / 424.9 MB, free: 4.309 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002245/0.4548, allocations: 1.71 MB / 426.6 MB, free: 2.566 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001295/0.4561, allocations: 339.5 kB / 426.9 MB, free: 2.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003839/0.4565, allocations: 128.5 kB / 427 MB, free: 2.105 MB / 378.7 MB Notification: Performance of SimCode: time 1.603e-06/0.4565, allocations: 0 / 427 MB, free: 2.105 MB / 378.7 MB Notification: Performance of Templates: time 0.1616/0.6181, allocations: 29.1 MB / 456.1 MB, free: 103.7 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/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/jenkins/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: 6.207711342023686]