Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.413/1.413, allocations: 230.6 MB / 258.3 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 47.92 kB / 379.1 MB, free: 2.551 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.259, allocations: 53.37 MB / 432.5 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02913/0.2881, allocations: 25.05 MB / 457.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0175/0.3056, allocations: 8.122 MB / 465.6 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004886/0.3105, allocations: 218.9 kB / 465.8 MB, free: 5.355 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02002/0.3305, allocations: 8.479 MB / 474.3 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01055/0.341, allocations: 3.158 MB / 477.5 MB, free: 9.688 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005792/0.3468, allocations: 1.89 MB / 479.4 MB, free: 7.805 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01608/0.3629, allocations: 11.35 MB / 490.7 MB, free: 12.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02714/0.3901, allocations: 14.66 MB / 0.4935 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009738/0.3998, allocations: 6.067 MB / 0.4995 GB, free: 7.535 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01139/0.4112, allocations: 6.573 MB / 0.5059 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004773/0.416, allocations: 1.715 MB / 0.5076 GB, free: 15.22 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006973/0.4229, allocations: 2.164 MB / 0.5097 GB, free: 13.06 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005766/0.4287, allocations: 3.406 MB / 0.513 GB, free: 9.648 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01121/0.4399, allocations: 6.358 MB / 0.5192 GB, free: 3.266 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4559/0.8958, allocations: 23.19 MB / 0.5419 GB, free: 40.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.8958, allocations: 0 / 0.5419 GB, free: 40.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.8958, allocations: 0 / 0.5419 GB, free: 40.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005806/0.8964, allocations: 0 / 0.5419 GB, free: 40.89 MB / 446.1 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.03692/0.9333, allocations: 13.57 MB / 0.5551 GB, free: 37.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.9333, allocations: 10 kB / 0.5551 GB, free: 37.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03311/0.9664, allocations: 6.256 MB / 0.5612 GB, free: 36.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01479/0.9812, allocations: 7.358 MB / 0.5684 GB, free: 34.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005606/0.9818, allocations: 0.7166 MB / 0.5691 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003508/0.9853, allocations: 0.9451 MB / 0.57 GB, free: 34.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03192/1.017, allocations: 16.17 MB / 0.5858 GB, free: 21.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002652/1.017, allocations: 14.56 kB / 0.5858 GB, free: 21.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001582/1.019, allocations: 398.8 kB / 0.5862 GB, free: 20.81 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003602/1.019, allocations: 0.5655 MB / 0.5868 GB, free: 20.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02512/1.045, allocations: 15.14 MB / 0.6016 GB, free: 5.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09553/1.14, allocations: 51.41 MB / 0.6518 GB, free: 1.594 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01695/1.157, allocations: 8.639 MB / 0.6602 GB, free: 9.758 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006319/1.163, allocations: 3.33 MB / 0.6635 GB, free: 6.43 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004607/1.164, allocations: 139 kB / 0.6636 GB, free: 6.32 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.55e-05/1.164, allocations: 78.06 kB / 0.6637 GB, free: 6.234 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=447): time 5.851e-06/1.164, allocations: 0 / 0.6637 GB, free: 6.234 MB / 0.4982 GB Notification: Performance of matching and sorting (n=452): time 0.05214/1.216, allocations: 20.55 MB / 0.6837 GB, free: 1.734 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.952e-05/1.216, allocations: 98.95 kB / 0.6838 GB, free: 1.625 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006874/1.223, allocations: 4.51 MB / 0.6882 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006907/1.224, allocations: 101.7 kB / 0.6883 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003436/1.227, allocations: 4.339 MB / 0.6926 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00197/1.229, allocations: 1.614 MB / 0.6941 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001941/1.231, allocations: 1.208 MB / 0.6953 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000134/1.231, allocations: 301.1 kB / 0.6956 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004948/1.236, allocations: 3.068 MB / 0.6986 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007391/1.243, allocations: 5.219 MB / 0.7037 GB, free: 12.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01399/1.257, allocations: 8.893 MB / 0.7124 GB, free: 2.723 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.499e-05/1.258, allocations: 22.41 kB / 0.7124 GB, free: 2.703 MB / 0.545 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.0188/1.276, allocations: 9.867 MB / 0.722 GB, free: 9.27 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 6.786e-05/1.276, allocations: 32 kB / 0.7221 GB, free: 9.238 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001179/1.277, allocations: 68 kB / 0.7221 GB, free: 9.172 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003797/1.28, allocations: 1.409 MB / 0.7235 GB, free: 7.762 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005398/1.286, allocations: 1.39 MB / 0.7249 GB, free: 6.465 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01914/1.305, allocations: 12.48 MB / 0.7371 GB, free: 9.828 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004484/1.309, allocations: 359.5 kB / 0.7374 GB, free: 9.477 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008006/1.31, allocations: 295.9 kB / 0.7377 GB, free: 9.188 MB / 0.5763 GB 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.006543/1.317, allocations: 3.886 MB / 0.7415 GB, free: 5.383 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001082/1.318, allocations: 480.9 kB / 0.7419 GB, free: 4.91 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0154/1.333, allocations: 8.485 MB / 0.7502 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01152/1.345, allocations: 6.229 MB / 0.7563 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.403e-05/1.345, allocations: 16 kB / 0.7563 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.067e-05/1.345, allocations: 26.31 kB / 0.7563 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2513/1.596, allocations: 17.43 MB / 0.7734 GB, free: 223.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.685e-05/1.596, allocations: 8.688 kB / 0.7734 GB, free: 223.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002875/1.599, allocations: 0.8126 MB / 0.7742 GB, free: 223 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003023/1.602, allocations: 1.288 MB / 0.7754 GB, free: 222.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003775/1.602, allocations: 106.9 kB / 0.7755 GB, free: 222.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01278/1.615, allocations: 11.37 MB / 0.7866 GB, free: 216.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/1.615, allocations: 15.33 kB / 0.7867 GB, free: 216.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01443/1.63, allocations: 11.21 MB / 0.7976 GB, free: 211.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002699/1.632, allocations: 1.061 MB / 0.7986 GB, free: 211 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000711/1.633, allocations: 98.22 kB / 0.7987 GB, free: 211 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002209/1.635, allocations: 228.2 kB / 0.7989 GB, free: 210.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005909/1.636, allocations: 350 kB / 0.7993 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002462/1.636, allocations: 137.1 kB / 0.7994 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00361/1.64, allocations: 3.123 MB / 0.8025 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.64, allocations: 2 kB / 0.8025 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00552/1.645, allocations: 1.727 MB / 0.8041 GB, free: 206.6 MB / 0.5919 GB 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.00184/1.647, allocations: 0.5358 MB / 0.8047 GB, free: 206.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0111/1.658, allocations: 7.678 MB / 0.8122 GB, free: 199.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/1.658, allocations: 4 kB / 0.8122 GB, free: 199.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005634/1.664, allocations: 3.696 MB / 0.8158 GB, free: 196.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004712/1.668, allocations: 1.069 MB / 0.8168 GB, free: 195.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02464/1.693, allocations: 18.09 MB / 0.8345 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005158/1.698, allocations: 6.333 MB / 0.8407 GB, free: 171.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00202/1.7, allocations: 447.3 kB / 0.8411 GB, free: 170.9 MB / 0.5919 GB Notification: Performance of SimCode: time 1.583e-06/1.7, allocations: 0 / 0.8411 GB, free: 170.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.4474/2.148, allocations: 230.5 MB / 1.066 GB, free: 177.3 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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: 19.54684147797525]