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_Characteristics.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.001769/0.001769, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.00186/0.00186, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.471/1.471, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 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_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 272.3 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.361e-05, allocations: 8.844 kB / 272.4 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.1483/0.1483, allocations: 21.39 MB / 293.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01357/0.1619, allocations: 7.206 MB / 301 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005305/0.1672, allocations: 221.8 kB / 301.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01888/0.1861, allocations: 8.67 MB / 309.8 MB, free: 9.316 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0122/0.1983, allocations: 3.016 MB / 312.9 MB, free: 6.914 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005645/0.2039, allocations: 1.722 MB / 314.6 MB, free: 5.555 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01419/0.2181, allocations: 11.28 MB / 325.9 MB, free: 12.69 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03387/0.252, allocations: 14.22 MB / 340.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02169/0.2737, allocations: 8.632 MB / 348.7 MB, free: 5.684 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01261/0.2863, allocations: 5.458 MB / 354.2 MB, free: 216 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00515/0.2914, allocations: 1.668 MB / 355.8 MB, free: 14.54 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007644/0.2991, allocations: 2.058 MB / 357.9 MB, free: 12.48 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00578/0.3049, allocations: 3.215 MB / 361.1 MB, free: 9.262 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01117/0.316, allocations: 4.074 MB / 365.2 MB, free: 5.18 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03722/0.3532, allocations: 22.72 MB / 387.9 MB, free: 14.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.3533, allocations: 0 / 387.9 MB, free: 14.39 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.3533, allocations: 0 / 387.9 MB, free: 14.39 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0007633/0.354, allocations: 4 kB / 387.9 MB, free: 14.39 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: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.04375/0.3978, allocations: 12.78 MB / 400.7 MB, free: 1.516 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3978, allocations: 16.03 kB / 400.7 MB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04042/0.4382, allocations: 7.74 MB / 408.4 MB, free: 9.746 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01897/0.4572, allocations: 7.331 MB / 415.8 MB, free: 2.352 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001003/0.4582, allocations: 0.7024 MB / 416.5 MB, free: 1.648 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004088/0.4623, allocations: 0.9217 MB / 417.4 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0469/0.5092, allocations: 15.93 MB / 433.3 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005419/0.5097, allocations: 7.953 kB / 433.3 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004055/0.5138, allocations: 388 kB / 433.7 MB, free: 312 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2789/0.7927, allocations: 0.5483 MB / 434.3 MB, free: 109.1 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0289/0.8216, allocations: 14.74 MB / 449 MB, free: 104.5 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06615/0.8878, allocations: 45.33 MB / 494.3 MB, free: 64.44 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01575/0.9035, allocations: 9.232 MB / 0.4918 GB, free: 56.3 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004842/0.9084, allocations: 2.925 MB / 0.4946 GB, free: 53.38 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004752/0.9088, allocations: 123 kB / 0.4947 GB, free: 53.26 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.47e-05/0.9089, allocations: 77.69 kB / 0.4948 GB, free: 53.18 MB / 378.8 MB Notification: Performance of pre-optimization done (n=398): time 7.053e-06/0.9089, allocations: 0 / 0.4948 GB, free: 53.18 MB / 378.8 MB Notification: Performance of matching and sorting (n=404): time 0.03504/0.9439, allocations: 17.23 MB / 0.5116 GB, free: 36.29 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.944, allocations: 90.58 kB / 0.5117 GB, free: 36.19 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004584/0.9486, allocations: 3.591 MB / 0.5152 GB, free: 32.68 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004299/0.949, allocations: 89.7 kB / 0.5153 GB, free: 32.59 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001459/0.9505, allocations: 4.128 MB / 0.5193 GB, free: 28.61 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008522/0.9513, allocations: 1.424 MB / 0.5207 GB, free: 27.2 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001352/0.9527, allocations: 1.144 MB / 0.5218 GB, free: 26.04 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.357e-05/0.9527, allocations: 305.1 kB / 0.5221 GB, free: 25.74 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003327/0.956, allocations: 2.795 MB / 0.5249 GB, free: 22.94 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004023/0.96, allocations: 4.978 MB / 0.5297 GB, free: 16.96 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008201/0.9682, allocations: 8.318 MB / 0.5378 GB, free: 7.645 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.672e-05/0.9683, allocations: 20 kB / 0.5379 GB, free: 7.625 MB / 378.8 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01407/0.9824, allocations: 9.34 MB / 0.547 GB, free: 14.26 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.628e-05/0.9824, allocations: 36 kB / 0.547 GB, free: 14.23 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000122/0.9826, allocations: 71.94 kB / 0.5471 GB, free: 14.16 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004512/0.9871, allocations: 1.396 MB / 0.5485 GB, free: 12.76 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005456/0.9925, allocations: 1.326 MB / 0.5498 GB, free: 11.43 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01766/1.01, allocations: 9.519 MB / 0.559 GB, free: 1.805 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004316/1.015, allocations: 331.5 kB / 0.5594 GB, free: 1.48 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001076/1.016, allocations: 288 kB / 0.5596 GB, free: 1.199 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007194/1.023, allocations: 3.711 MB / 0.5633 GB, free: 13.48 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001346/1.024, allocations: 0.517 MB / 0.5638 GB, free: 12.96 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01346/1.038, allocations: 6.609 MB / 0.5702 GB, free: 6.316 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01055/1.048, allocations: 5.552 MB / 0.5756 GB, free: 0.7422 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.601e-05/1.048, allocations: 8 kB / 0.5756 GB, free: 0.7344 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.557e-05/1.048, allocations: 19.92 kB / 0.5757 GB, free: 0.7148 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1726/1.221, allocations: 13.47 MB / 0.5888 GB, free: 120.3 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/1.221, allocations: 7.406 kB / 0.5888 GB, free: 120.3 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002675/1.223, allocations: 0.7203 MB / 0.5895 GB, free: 120.3 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003423/1.227, allocations: 1.271 MB / 0.5908 GB, free: 120.1 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002589/1.227, allocations: 96.72 kB / 0.5909 GB, free: 120 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0103/1.237, allocations: 8.469 MB / 0.5991 GB, free: 115.5 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/1.237, allocations: 6.75 kB / 0.5991 GB, free: 115.5 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01274/1.25, allocations: 9.93 MB / 0.6088 GB, free: 111.4 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001967/1.252, allocations: 0.893 MB / 0.6097 GB, free: 111.2 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005046/1.253, allocations: 78.88 kB / 0.6098 GB, free: 111.1 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001779/1.254, allocations: 198.6 kB / 0.61 GB, free: 111 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000599/1.255, allocations: 312.2 kB / 0.6103 GB, free: 111 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002359/1.255, allocations: 128.4 kB / 0.6104 GB, free: 111 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.002802/1.258, allocations: 2.33 MB / 0.6127 GB, free: 110.1 MB / 410.8 MB Notification: Performance of sort global known variables: time 9e-08/1.258, allocations: 0 / 0.6127 GB, free: 110.1 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.004712/1.263, allocations: 1.601 MB / 0.6142 GB, free: 109.9 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.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 (389): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005274/1.263, allocations: 277 kB / 0.6145 GB, free: 109.7 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.00912/1.272, allocations: 6.858 MB / 0.6212 GB, free: 103.8 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.272, allocations: 4 kB / 0.6212 GB, free: 103.8 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00467/1.277, allocations: 3.163 MB / 0.6243 GB, free: 101.1 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003972/1.281, allocations: 0.9055 MB / 0.6252 GB, free: 100.4 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02386/1.305, allocations: 16.83 MB / 0.6416 GB, free: 84.52 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006459/1.311, allocations: 5.74 MB / 0.6472 GB, free: 78.72 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.004899/1.316, allocations: 1.887 MB / 0.6491 GB, free: 76.83 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001335/1.318, allocations: 356.4 kB / 0.6494 GB, free: 76.48 MB / 410.8 MB Notification: Performance of SimCode: time 1.673e-06/1.318, allocations: 4 kB / 0.6494 GB, free: 76.48 MB / 410.8 MB Notification: Performance of Templates: time 0.08788/1.406, allocations: 60.48 MB / 0.7085 GB, free: 16.74 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_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_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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: 7.699873161036521]