Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.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.001115/0.001115, allocations: 88.28 kB / 21.43 MB, free: 3.125 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.005423/0.005423, allocations: 150.1 kB / 24.69 MB, free: 9.418 MB / 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 0.8549/0.8549, allocations: 177 MB / 204.9 MB, free: 5.789 MB / 186.7 MB " [Timeout remaining time 179] 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.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.816e-05/3.002e-05, allocations: 6.219 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.007372/0.007402, allocations: 8.629 MB / 334.5 MB, free: 6.703 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004903/0.01231, allocations: 3.564 MB / 338 MB, free: 3.129 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009129/0.01322, allocations: 59.62 kB / 338.1 MB, free: 3.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.01452, allocations: 0.6713 MB / 338.7 MB, free: 2.395 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001567/0.01608, allocations: 0.951 MB / 339.7 MB, free: 1.438 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006906/0.01677, allocations: 478.9 kB / 340.2 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002045/0.01882, allocations: 2.765 MB / 342.9 MB, free: 14.19 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009242/0.01974, allocations: 1.073 MB / 344 MB, free: 13.06 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001361/0.0211, allocations: 1.766 MB / 345.8 MB, free: 11.29 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001223/0.02233, allocations: 1.309 MB / 347.1 MB, free: 9.98 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002594/0.02259, allocations: 304 kB / 347.4 MB, free: 9.684 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009061/0.02349, allocations: 0.5579 MB / 347.9 MB, free: 9.125 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006117/0.0241, allocations: 1.071 MB / 349 MB, free: 8.051 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000711/0.02481, allocations: 0.9975 MB / 350 MB, free: 7.051 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002796/0.02761, allocations: 4.339 MB / 354.3 MB, free: 2.699 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.02761, allocations: 4 kB / 354.3 MB, free: 2.695 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.02762, allocations: 0 / 354.3 MB, free: 2.695 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.14e-05/0.02766, allocations: 0 / 354.3 MB, free: 2.695 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.003784/0.03144, allocations: 3.165 MB / 357.5 MB, free: 15.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.03148, allocations: 11.98 kB / 357.5 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006462/0.03213, allocations: 378.8 kB / 357.9 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001798/0.03393, allocations: 1.665 MB / 359.6 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-05/0.03401, allocations: 148.4 kB / 359.7 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002047/0.03421, allocations: 208.3 kB / 359.9 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003093/0.0373, allocations: 2.807 MB / 362.7 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.5e-05/0.03735, allocations: 7.953 kB / 362.7 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/0.03748, allocations: 80 kB / 362.8 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.543e-05/0.03755, allocations: 95.92 kB / 362.9 MB, free: 9.945 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002509/0.04006, allocations: 2.276 MB / 365.2 MB, free: 7.668 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007642/0.0477, allocations: 7.055 MB / 372.2 MB, free: 440 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.04943, allocations: 1.31 MB / 373.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/0.0506, allocations: 1.034 MB / 374.6 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001656/0.05077, allocations: 52.91 kB / 374.6 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.0508, allocations: 43.56 kB / 374.7 MB, free: 13.97 MB / 346.7 MB Notification: Performance of pre-optimization done (n=116): time 3.086e-06/0.0508, allocations: 0 / 374.7 MB, free: 13.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=132): time 0.007702/0.0585, allocations: 6.086 MB / 380.7 MB, free: 7.844 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.05854, allocations: 64.72 kB / 380.8 MB, free: 7.77 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001728/0.06026, allocations: 2.039 MB / 382.8 MB, free: 5.727 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/0.06033, allocations: 45.7 kB / 382.9 MB, free: 5.676 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006603/0.06099, allocations: 1.144 MB / 384 MB, free: 4.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/0.06123, allocations: 475.9 kB / 384.5 MB, free: 4.051 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002578/0.06149, allocations: 239.5 kB / 384.7 MB, free: 3.809 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.06159, allocations: 365.9 kB / 385.1 MB, free: 3.445 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007894/0.06238, allocations: 0.7574 MB / 385.8 MB, free: 2.688 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008811/0.06326, allocations: 1.009 MB / 386.9 MB, free: 1.586 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001723/0.06498, allocations: 1.858 MB / 388.7 MB, free: 15.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.06499, allocations: 4 kB / 388.7 MB, free: 15.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003073/0.06806, allocations: 2.742 MB / 391.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.06808, allocations: 15.92 kB / 391.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.06809, allocations: 4 kB / 391.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.06921, allocations: 0.7814 MB / 392.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005552/0.06977, allocations: 271.5 kB / 392.5 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007227/0.07699, allocations: 9.228 MB / 401.8 MB, free: 2.371 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006972/0.07769, allocations: 91.89 kB / 401.8 MB, free: 2.281 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.488e-05/0.07778, allocations: 51.98 kB / 401.9 MB, free: 2.23 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001005/0.07878, allocations: 0.7473 MB / 402.6 MB, free: 1.473 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00022/0.079, allocations: 198.7 kB / 402.8 MB, free: 1.277 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002846/0.08185, allocations: 2.464 MB / 405.3 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/0.08186, allocations: 20 kB / 405.3 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.08187, allocations: 4 kB / 405.3 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.08188, allocations: 12.16 kB / 405.3 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004867/0.08675, allocations: 4.385 MB / 409.7 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.08675, allocations: 0 / 409.7 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004926/0.08724, allocations: 219.6 kB / 409.9 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000936/0.08818, allocations: 0.6569 MB / 410.6 MB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.691e-05/0.08825, allocations: 35.97 kB / 410.6 MB, free: 9.375 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005567/0.09381, allocations: 8.247 MB / 418.9 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.09381, allocations: 8.094 kB / 418.9 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00373/0.09755, allocations: 3.521 MB / 422.4 MB, free: 13.26 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005407/0.09809, allocations: 366.5 kB / 422.8 MB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.09821, allocations: 28 kB / 422.8 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004567/0.09867, allocations: 87.89 kB / 422.9 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/0.09886, allocations: 100.8 kB / 423 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.696e-05/0.09892, allocations: 39.97 kB / 423 MB, free: 12.65 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001298/0.1002, allocations: 1.427 MB / 424.4 MB, free: 11.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1002, allocations: 0 / 424.4 MB, free: 11.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001212/0.1014, allocations: 0.5156 MB / 425 MB, free: 10.71 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.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 (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000881/0.1023, allocations: 492.4 kB / 425.4 MB, free: 10.35 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002726/0.105, allocations: 2.295 MB / 427.7 MB, free: 8.027 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.105, allocations: 4 kB / 427.7 MB, free: 8.023 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001423/0.1065, allocations: 1.451 MB / 429.2 MB, free: 6.535 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.1075, allocations: 400 kB / 429.6 MB, free: 6.152 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005715/0.1132, allocations: 5.089 MB / 434.7 MB, free: 1.004 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.1142, allocations: 1.36 MB / 436 MB, free: 15.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002974/0.1145, allocations: 140.5 kB / 436.2 MB, free: 15.47 MB / 410.7 MB Notification: Performance of SimCode: time 9.01e-07/0.1145, allocations: 0 / 436.2 MB, free: 15.47 MB / 410.7 MB Notification: Performance of Templates: time 0.1813/0.2958, allocations: 64.47 MB / 0.4889 GB, free: 73.37 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.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.706149158068001]