Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 106.5 kB / 20.32 MB, free: 1.996 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 187.5 kB / 23.47 MB, free: 5.293 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 207.6 MB / 234 MB, free: 11.05 MB / 190.1 MB [Timeout remaining time 88] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 56.39 kB / 345.9 MB, free: 10.64 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3581, allocations: 49.11 MB / 395 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02868/0.3868, allocations: 25.07 MB / 420.1 MB, free: 7.293 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02265/0.4094, allocations: 7.755 MB / 427.8 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008094/0.4175, allocations: 149.7 kB / 428 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02139/0.4389, allocations: 8.466 MB / 436.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01301/0.4519, allocations: 3.105 MB / 439.5 MB, free: 7.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006559/0.4585, allocations: 1.81 MB / 441.3 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01838/0.4768, allocations: 11.23 MB / 452.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03413/0.511, allocations: 17.43 MB / 470 MB, free: 8.582 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01252/0.5235, allocations: 6.012 MB / 476 MB, free: 2.555 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01366/0.5372, allocations: 6.619 MB / 482.6 MB, free: 11.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00596/0.5431, allocations: 1.727 MB / 484.4 MB, free: 10.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00831/0.5514, allocations: 2.121 MB / 486.5 MB, free: 8.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006766/0.5582, allocations: 3.476 MB / 489.9 MB, free: 4.582 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0153/0.5735, allocations: 6.432 MB / 496.4 MB, free: 14.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03705/0.6105, allocations: 23.19 MB / 0.5074 GB, free: 6.867 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/0.6106, allocations: 0 / 0.5074 GB, free: 6.867 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.6106, allocations: 0 / 0.5074 GB, free: 6.867 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007534/0.6113, allocations: 4 kB / 0.5074 GB, free: 6.863 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.05048/0.6618, allocations: 13.8 MB / 0.5209 GB, free: 8.941 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.6619, allocations: 8.031 kB / 0.5209 GB, free: 8.934 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04177/0.7036, allocations: 7.301 MB / 0.528 GB, free: 1.617 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01885/0.7225, allocations: 6.522 MB / 0.5344 GB, free: 11.01 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00108/0.7236, allocations: 0.7344 MB / 0.5351 GB, free: 10.28 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00567/0.7292, allocations: 0.9608 MB / 0.536 GB, free: 9.316 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05258/0.7818, allocations: 16.59 MB / 0.5522 GB, free: 8.645 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005444/0.7823, allocations: 11.91 kB / 0.5523 GB, free: 8.633 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004615/0.787, allocations: 412 kB / 0.5526 GB, free: 8.23 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008892/0.7878, allocations: 0.5947 MB / 0.5532 GB, free: 7.633 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5356/1.323, allocations: 15.78 MB / 0.5686 GB, free: 128.6 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1054/1.429, allocations: 53.39 MB / 0.6208 GB, free: 91.68 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02075/1.45, allocations: 22.28 MB / 0.6425 GB, free: 67.2 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007182/1.457, allocations: 3.471 MB / 0.6459 GB, free: 63.73 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02536/1.482, allocations: 11.7 MB / 0.6574 GB, free: 52.07 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.838e-05/1.482, allocations: 77.3 kB / 0.6574 GB, free: 51.98 MB / 478.1 MB Notification: Performance of pre-optimization done (n=357): time 6.082e-06/1.482, allocations: 0 / 0.6574 GB, free: 51.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=362): time 0.04352/1.526, allocations: 17.6 MB / 0.6746 GB, free: 34.66 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/1.526, allocations: 90.25 kB / 0.6747 GB, free: 34.56 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009393/1.535, allocations: 4.767 MB / 0.6794 GB, free: 29.82 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009607/1.536, allocations: 85.7 kB / 0.6794 GB, free: 29.73 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002928/1.539, allocations: 4.637 MB / 0.684 GB, free: 25.16 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001828/1.541, allocations: 1.311 MB / 0.6852 GB, free: 23.87 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004062/1.545, allocations: 1.187 MB / 0.6864 GB, free: 22.67 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 7.213e-05/1.545, allocations: 305.1 kB / 0.6867 GB, free: 22.37 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005134/1.55, allocations: 2.904 MB / 0.6895 GB, free: 19.46 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006389/1.557, allocations: 5.254 MB / 0.6947 GB, free: 13.11 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01059/1.567, allocations: 8.648 MB / 0.7031 GB, free: 3.344 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.555e-05/1.567, allocations: 20 kB / 0.7031 GB, free: 3.324 MB / 478.1 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.0211/1.588, allocations: 9.598 MB / 0.7125 GB, free: 9.699 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/1.588, allocations: 41 kB / 0.7125 GB, free: 9.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001991/1.589, allocations: 83.94 kB / 0.7126 GB, free: 9.578 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004427/1.593, allocations: 1.434 MB / 0.714 GB, free: 8.133 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005738/1.599, allocations: 1.334 MB / 0.7153 GB, free: 6.797 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02202/1.621, allocations: 12.7 MB / 0.7277 GB, free: 9.805 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007026/1.628, allocations: 367.6 kB / 0.7281 GB, free: 9.445 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001831/1.63, allocations: 296 kB / 0.7284 GB, free: 9.156 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 355 * 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 (689): * Single equations (assignments): 686 * 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.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01131/1.641, allocations: 3.927 MB / 0.7322 GB, free: 5.215 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002251/1.643, allocations: 472.9 kB / 0.7326 GB, free: 4.75 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01768/1.661, allocations: 6.725 MB / 0.7392 GB, free: 13.98 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01175/1.673, allocations: 5.541 MB / 0.7446 GB, free: 8.402 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.357e-05/1.673, allocations: 16 kB / 0.7446 GB, free: 8.387 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.582e-05/1.673, allocations: 19.94 kB / 0.7447 GB, free: 8.367 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04062/1.713, allocations: 15.4 MB / 0.7597 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.986e-05/1.713, allocations: 4.594 kB / 0.7597 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003714/1.717, allocations: 0.6631 MB / 0.7603 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004348/1.722, allocations: 1.298 MB / 0.7616 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008908/1.722, allocations: 87.97 kB / 0.7617 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3347/2.057, allocations: 11.56 MB / 0.773 GB, free: 176.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/2.057, allocations: 9.156 kB / 0.773 GB, free: 176.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01872/2.076, allocations: 9.979 MB / 0.7827 GB, free: 173.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003422/2.079, allocations: 1.047 MB / 0.7838 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001296/2.081, allocations: 72.67 kB / 0.7838 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002811/2.083, allocations: 220.6 kB / 0.784 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007805/2.084, allocations: 277.5 kB / 0.7843 GB, free: 173.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002728/2.084, allocations: 112 kB / 0.7844 GB, free: 173.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0062/2.091, allocations: 3.228 MB / 0.7876 GB, free: 172 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/2.091, allocations: 1.562 kB / 0.7876 GB, free: 172 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009123/2.1, allocations: 1.695 MB / 0.7892 GB, free: 171.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (333): * Single equations (assignments): 330 * 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.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00224/2.102, allocations: 0.5087 MB / 0.7897 GB, free: 171.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01379/2.116, allocations: 7.231 MB / 0.7968 GB, free: 168.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/2.116, allocations: 3.75 kB / 0.7968 GB, free: 168.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006642/2.122, allocations: 3.366 MB / 0.8001 GB, free: 167.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007564/2.13, allocations: 1.025 MB / 0.8011 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03851/2.169, allocations: 17.93 MB / 0.8186 GB, free: 153.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009904/2.178, allocations: 6.371 MB / 0.8248 GB, free: 148.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002434/2.181, allocations: 403.2 kB / 0.8252 GB, free: 148.4 MB / 0.5294 GB Notification: Performance of SimCode: time 2.083e-06/2.181, allocations: 0 / 0.8252 GB, free: 148.4 MB / 0.5294 GB Notification: Performance of Templates: time 0.5445/2.725, allocations: 229.1 MB / 1.049 GB, free: 116.6 MB / 0.5294 GB [Timeout remaining time 657] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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