Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.001816/0.001816, allocations: 92.27 kB / 20.96 MB, free: 3.445 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.002113/0.002113, allocations: 152.9 kB / 24.26 MB, free: 148 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.476/1.476, allocations: 177 MB / 204.4 MB, free: 5.617 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 272.3 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.279e-05/3.502e-05, allocations: 2.312 kB / 272.3 MB, free: 1.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1806/0.1807, allocations: 21.5 MB / 293.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01782/0.1985, allocations: 7.774 MB / 301.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005727/0.2042, allocations: 213.4 kB / 301.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01903/0.2233, allocations: 8.254 MB / 310 MB, free: 9.145 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01273/0.236, allocations: 3.131 MB / 313.1 MB, free: 6.664 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005658/0.2416, allocations: 1.83 MB / 315 MB, free: 5.227 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0146/0.2562, allocations: 11.7 MB / 326.7 MB, free: 11.79 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03062/0.2869, allocations: 14.5 MB / 341.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02033/0.3072, allocations: 8.893 MB / 350 MB, free: 4.242 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01367/0.3209, allocations: 5.625 MB / 355.7 MB, free: 14.6 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005734/0.3266, allocations: 1.715 MB / 357.4 MB, free: 12.89 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007418/0.334, allocations: 2.148 MB / 359.5 MB, free: 10.74 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005635/0.3396, allocations: 3.464 MB / 363 MB, free: 7.266 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01009/0.3497, allocations: 4.226 MB / 367.2 MB, free: 3.031 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03283/0.3826, allocations: 23.52 MB / 390.7 MB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3826, allocations: 0 / 390.7 MB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3826, allocations: 4 kB / 390.7 MB, free: 11.45 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005464/0.3831, allocations: 0 / 390.7 MB, free: 11.45 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.04216/0.4253, allocations: 13.47 MB / 404.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.4253, allocations: 11.98 kB / 404.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04078/0.4661, allocations: 7.829 MB / 412.1 MB, free: 6.027 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01843/0.4846, allocations: 7.676 MB / 419.7 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00134/0.4859, allocations: 0.7224 MB / 420.5 MB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005566/0.4915, allocations: 0.953 MB / 421.4 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2645/0.756, allocations: 16.31 MB / 437.7 MB, free: 102.5 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003429/0.7563, allocations: 13.27 kB / 437.7 MB, free: 102.5 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002846/0.7592, allocations: 399 kB / 438.1 MB, free: 102.5 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007021/0.7599, allocations: 0.5645 MB / 438.7 MB, free: 102.4 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02964/0.7895, allocations: 15.07 MB / 453.8 MB, free: 96.66 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06761/0.8571, allocations: 46.68 MB / 0.4887 GB, free: 57.18 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01373/0.8708, allocations: 8.548 MB / 0.4971 GB, free: 49.41 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004812/0.8757, allocations: 3.328 MB / 0.5003 GB, free: 46.09 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003848/0.876, allocations: 147.3 kB / 0.5004 GB, free: 45.94 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/0.8761, allocations: 78.06 kB / 0.5005 GB, free: 45.86 MB / 378.8 MB Notification: Performance of pre-optimization done (n=447): time 6.852e-06/0.8761, allocations: 0 / 0.5005 GB, free: 45.86 MB / 378.8 MB Notification: Performance of matching and sorting (n=452): time 0.04361/0.9197, allocations: 20.52 MB / 0.5206 GB, free: 25.69 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.9198, allocations: 98.95 kB / 0.5206 GB, free: 25.58 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005254/0.925, allocations: 4.412 MB / 0.525 GB, free: 21.28 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007555/0.9258, allocations: 101.6 kB / 0.5251 GB, free: 21.18 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002087/0.9278, allocations: 4.334 MB / 0.5293 GB, free: 17.04 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001367/0.9292, allocations: 1.589 MB / 0.5308 GB, free: 15.48 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001624/0.9308, allocations: 1.196 MB / 0.532 GB, free: 14.27 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.046e-05/0.9309, allocations: 309.1 kB / 0.5323 GB, free: 13.96 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00399/0.9349, allocations: 3.057 MB / 0.5353 GB, free: 10.9 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005327/0.9402, allocations: 5.235 MB / 0.5404 GB, free: 4.688 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01306/0.9533, allocations: 8.872 MB / 0.5491 GB, free: 10.85 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.657e-05/0.9533, allocations: 20 kB / 0.5491 GB, free: 10.83 MB / 394.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02268/0.976, allocations: 10.13 MB / 0.559 GB, free: 0.6797 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.509e-05/0.9761, allocations: 32 kB / 0.559 GB, free: 0.6484 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001636/0.9763, allocations: 68 kB / 0.5591 GB, free: 0.582 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005364/0.9816, allocations: 1.571 MB / 0.5606 GB, free: 15 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006099/0.9877, allocations: 1.396 MB / 0.562 GB, free: 13.61 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02135/1.009, allocations: 12.12 MB / 0.5738 GB, free: 1.285 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004645/1.014, allocations: 355.6 kB / 0.5741 GB, free: 0.9375 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001039/1.015, allocations: 303.9 kB / 0.5744 GB, free: 0.6406 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (720): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.1315/1.146, allocations: 3.882 MB / 0.5782 GB, free: 120.7 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0014/1.148, allocations: 0.6048 MB / 0.5788 GB, free: 120.7 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01437/1.162, allocations: 8.425 MB / 0.587 GB, free: 118 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009732/1.172, allocations: 6.202 MB / 0.5931 GB, free: 115.6 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.497e-05/1.172, allocations: 10.97 kB / 0.5931 GB, free: 115.6 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.752e-05/1.172, allocations: 22.5 kB / 0.5931 GB, free: 115.6 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02357/1.195, allocations: 14.96 MB / 0.6077 GB, free: 109.5 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.082e-05/1.195, allocations: 10.52 kB / 0.6078 GB, free: 109.5 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003227/1.199, allocations: 0.8134 MB / 0.6086 GB, free: 109.5 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003985/1.203, allocations: 1.448 MB / 0.61 GB, free: 109.2 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005002/1.203, allocations: 102.1 kB / 0.6101 GB, free: 109.1 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01253/1.216, allocations: 11.05 MB / 0.6208 GB, free: 101.4 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/1.216, allocations: 19.67 kB / 0.6209 GB, free: 101.4 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01465/1.23, allocations: 11.28 MB / 0.6319 GB, free: 91.2 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00277/1.233, allocations: 1.044 MB / 0.6329 GB, free: 90.42 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008225/1.234, allocations: 91.94 kB / 0.633 GB, free: 90.33 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002314/1.236, allocations: 227.7 kB / 0.6332 GB, free: 90.11 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006848/1.237, allocations: 351.2 kB / 0.6335 GB, free: 89.76 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002737/1.237, allocations: 140 kB / 0.6337 GB, free: 89.62 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.003675/1.241, allocations: 2.951 MB / 0.6366 GB, free: 86.7 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.01e-07/1.241, allocations: 0 / 0.6366 GB, free: 86.7 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.005611/1.246, allocations: 1.722 MB / 0.6382 GB, free: 84.98 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (417): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,6,100.0%), (14,54,43.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002178/1.249, allocations: 0.5523 MB / 0.6388 GB, free: 84.64 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.01065/1.259, allocations: 7.658 MB / 0.6463 GB, free: 76.98 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/1.259, allocations: 4 kB / 0.6463 GB, free: 76.98 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00529/1.265, allocations: 3.696 MB / 0.6499 GB, free: 73.27 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004509/1.269, allocations: 0.9908 MB / 0.6508 GB, free: 72.31 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02435/1.293, allocations: 18.46 MB / 0.6689 GB, free: 53.67 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005464/1.299, allocations: 6.063 MB / 0.6748 GB, free: 47.56 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.004768/1.304, allocations: 2.094 MB / 0.6768 GB, free: 45.46 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/1.305, allocations: 388.4 kB / 0.6772 GB, free: 45.08 MB / 410.8 MB Notification: Performance of SimCode: time 1.293e-06/1.305, allocations: 8 kB / 0.6772 GB, free: 45.07 MB / 410.8 MB Notification: Performance of Templates: time 0.2311/1.536, allocations: 66.55 MB / 0.7422 GB, free: 122.4 MB / 426.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 10.081561262952164]