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.001931/0.001931, allocations: 82.02 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.002318/0.002318, allocations: 159.8 kB / 24.5 MB, free: 3.719 MB / 14.72 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.421/1.421, allocations: 177.1 MB / 204.7 MB, free: 8.965 MB / 190.1 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 0.001956/0.001956, allocations: 61.89 kB / 325.6 MB, free: 168 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0909/0.09286, allocations: 53.39 MB / 379 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02602/0.1189, allocations: 21.48 MB / 400.5 MB, free: 9.852 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01512/0.134, allocations: 7.754 MB / 408.2 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003411/0.1374, allocations: 218.9 kB / 408.4 MB, free: 1.859 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02001/0.1574, allocations: 8.218 MB / 416.6 MB, free: 9.621 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0102/0.1676, allocations: 3.07 MB / 419.7 MB, free: 6.539 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005661/0.1733, allocations: 1.837 MB / 421.6 MB, free: 4.711 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01526/0.1885, allocations: 11.34 MB / 432.9 MB, free: 9.336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02348/0.212, allocations: 14.46 MB / 447.4 MB, free: 10.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008875/0.2209, allocations: 6.059 MB / 453.4 MB, free: 4.652 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01078/0.2317, allocations: 6.268 MB / 459.7 MB, free: 14.36 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004019/0.2357, allocations: 1.715 MB / 461.4 MB, free: 12.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005675/0.2414, allocations: 2.136 MB / 463.5 MB, free: 10.51 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004621/0.246, allocations: 3.402 MB / 466.9 MB, free: 7.102 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008396/0.2544, allocations: 4.907 MB / 471.8 MB, free: 2.176 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2123/0.4667, allocations: 23.29 MB / 495.1 MB, free: 34.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4667, allocations: 0 / 495.1 MB, free: 34.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4667, allocations: 0 / 495.1 MB, free: 34.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006125/0.4673, allocations: 1.781 kB / 495.1 MB, free: 34.98 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: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.04022/0.5076, allocations: 13.57 MB / 0.4968 GB, free: 27.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.5076, allocations: 13.64 kB / 0.4968 GB, free: 27.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03415/0.5418, allocations: 6.256 MB / 0.5029 GB, free: 25.03 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01457/0.5563, allocations: 7.373 MB / 0.5101 GB, free: 20.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003763/0.5567, allocations: 0.7195 MB / 0.5108 GB, free: 20.11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003076/0.5598, allocations: 0.9483 MB / 0.5117 GB, free: 19.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0316/0.5914, allocations: 16.31 MB / 0.5277 GB, free: 6.547 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000283/0.5917, allocations: 15.95 kB / 0.5277 GB, free: 6.531 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002796/0.5945, allocations: 398.4 kB / 0.528 GB, free: 6.152 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004074/0.5949, allocations: 0.563 MB / 0.5286 GB, free: 5.586 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02908/0.6239, allocations: 15.07 MB / 0.5433 GB, free: 6.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08656/0.7105, allocations: 45.43 MB / 0.5877 GB, free: 9.07 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01628/0.7268, allocations: 8.536 MB / 0.596 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00598/0.7328, allocations: 3.318 MB / 0.5993 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000437/0.7332, allocations: 123.3 kB / 0.5994 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.656e-05/0.7333, allocations: 82.06 kB / 0.5995 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=447): time 8.206e-06/0.7333, allocations: 0 / 0.5995 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=452): time 0.0528/0.7861, allocations: 20.34 MB / 0.6193 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.084e-05/0.7862, allocations: 98.95 kB / 0.6194 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007047/0.7932, allocations: 4.416 MB / 0.6237 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006299/0.7938, allocations: 93.7 kB / 0.6238 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00324/0.7971, allocations: 4.342 MB / 0.6281 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001892/0.799, allocations: 1.612 MB / 0.6296 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002023/0.801, allocations: 1.208 MB / 0.6308 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.8011, allocations: 309.1 kB / 0.6311 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004993/0.8061, allocations: 3.061 MB / 0.6341 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006863/0.813, allocations: 5.238 MB / 0.6392 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01326/0.8262, allocations: 8.88 MB / 0.6479 GB, free: 10.63 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-05/0.8263, allocations: 22.73 kB / 0.6479 GB, free: 10.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02031/0.8466, allocations: 9.814 MB / 0.6575 GB, free: 1.227 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.431e-05/0.8467, allocations: 35.98 kB / 0.6575 GB, free: 1.191 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001356/0.8468, allocations: 72 kB / 0.6576 GB, free: 1.121 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003871/0.8507, allocations: 1.369 MB / 0.6589 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005725/0.8564, allocations: 1.387 MB / 0.6603 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01854/0.875, allocations: 12.06 MB / 0.6721 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005081/0.88, allocations: 355.6 kB / 0.6724 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009255/0.881, allocations: 300 kB / 0.6727 GB, free: 1.621 MB / 0.5606 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.2192/1.1, allocations: 3.88 MB / 0.6765 GB, free: 193.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001172/1.101, allocations: 464.5 kB / 0.6769 GB, free: 193.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01231/1.114, allocations: 8.424 MB / 0.6851 GB, free: 192.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008531/1.122, allocations: 6.197 MB / 0.6912 GB, free: 190.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.111e-05/1.122, allocations: 14.53 kB / 0.6912 GB, free: 190.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.357e-05/1.122, allocations: 27.28 kB / 0.6912 GB, free: 190.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02251/1.145, allocations: 14.95 MB / 0.7058 GB, free: 182.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.757e-05/1.145, allocations: 8 kB / 0.7058 GB, free: 182.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003008/1.148, allocations: 0.8139 MB / 0.7066 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002973/1.151, allocations: 1.248 MB / 0.7079 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002943/1.151, allocations: 116.7 kB / 0.708 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0124/1.163, allocations: 10.97 MB / 0.7187 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.163, allocations: 11.94 kB / 0.7187 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01469/1.178, allocations: 11.15 MB / 0.7296 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002861/1.181, allocations: 1.038 MB / 0.7306 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006599/1.182, allocations: 84 kB / 0.7307 GB, free: 161 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0022/1.184, allocations: 235.3 kB / 0.7309 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006079/1.185, allocations: 357.6 kB / 0.7312 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003005/1.185, allocations: 140 kB / 0.7314 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003546/1.188, allocations: 2.95 MB / 0.7343 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.188, allocations: 0 / 0.7343 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005915/1.194, allocations: 1.718 MB / 0.7359 GB, free: 155.7 MB / 0.5606 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.001853/1.196, allocations: 0.5518 MB / 0.7365 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01082/1.207, allocations: 7.66 MB / 0.7439 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/1.207, allocations: 4 kB / 0.744 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005601/1.213, allocations: 3.672 MB / 0.7475 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004767/1.217, allocations: 0.9633 MB / 0.7485 GB, free: 143 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02571/1.243, allocations: 18.32 MB / 0.7664 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005156/1.248, allocations: 6.063 MB / 0.7723 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004415/1.253, allocations: 2.094 MB / 0.7743 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009733/1.254, allocations: 396.4 kB / 0.7747 GB, free: 116 MB / 0.5606 GB Notification: Performance of SimCode: time 6.92e-07/1.254, allocations: 0 / 0.7747 GB, free: 116 MB / 0.5606 GB Notification: Performance of Templates: time 0.1104/1.364, allocations: 66.68 MB / 0.8398 GB, free: 49.93 MB / 0.5606 GB " [Timeout remaining time 659] 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 -s ida -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/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_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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.571897389017977]