Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.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.001795/0.001795, allocations: 122.5 kB / 18.5 MB, free: 4.52 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.002107/0.002107, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.551/1.551, allocations: 230.2 MB / 254.5 MB, free: 15.39 MB / 206.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.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00261/0.00261, allocations: 63.89 kB / 373.8 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1411, allocations: 53.33 MB / 427.2 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.01428/0.1554, allocations: 9.71 MB / 436.9 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008284/0.1637, allocations: 3.17 MB / 440.1 MB, free: 7.512 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002108/0.1658, allocations: 55.75 kB / 440.1 MB, free: 7.457 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00223/0.168, allocations: 0.7144 MB / 440.8 MB, free: 6.738 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003332/0.1713, allocations: 0.796 MB / 441.6 MB, free: 5.938 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.1724, allocations: 399.4 kB / 442 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004033/0.1765, allocations: 2.554 MB / 444.6 MB, free: 2.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002281/0.1787, allocations: 1.674 MB / 446.2 MB, free: 1.242 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002011/0.1807, allocations: 1.195 MB / 447.4 MB, free: 44 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2104/0.3912, allocations: 1.532 MB / 449 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007764/0.3919, allocations: 319.2 kB / 449.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.3932, allocations: 427.7 kB / 449.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000868/0.3941, allocations: 0.9093 MB / 450.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001586/0.3957, allocations: 1.418 MB / 452 MB, free: 11.15 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005922/0.4016, allocations: 4.171 MB / 456.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.4016, allocations: 0 / 456.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4016, allocations: 1.312 kB / 456.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001143/0.4017, allocations: 1.781 kB / 456.2 MB, free: 10.64 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.00725/0.409, allocations: 2.981 MB / 459.2 MB, free: 9.352 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.409, allocations: 10.25 kB / 459.2 MB, free: 9.352 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008982/0.4099, allocations: 310.7 kB / 459.5 MB, free: 9.203 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002697/0.4126, allocations: 1.555 MB / 461 MB, free: 8.477 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.4127, allocations: 161.9 kB / 461.2 MB, free: 8.402 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003267/0.4131, allocations: 214.7 kB / 461.4 MB, free: 8.332 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0054/0.4185, allocations: 2.8 MB / 464.2 MB, free: 7.188 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.955e-05/0.4185, allocations: 13.67 kB / 464.2 MB, free: 7.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002117/0.4188, allocations: 87.91 kB / 464.3 MB, free: 7.113 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001254/0.4189, allocations: 103.5 kB / 464.4 MB, free: 7.102 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004052/0.4229, allocations: 2.349 MB / 466.8 MB, free: 6.273 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01245/0.4354, allocations: 8.532 MB / 475.3 MB, free: 1.074 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002203/0.4376, allocations: 1.622 MB / 476.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001761/0.4394, allocations: 0.9125 MB / 477.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003123/0.4397, allocations: 199.5 kB / 478 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.4397, allocations: 48.02 kB / 478.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 3.016e-06/0.4397, allocations: 0 / 478.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=116): time 0.01462/0.4543, allocations: 6.26 MB / 484.3 MB, free: 11.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/0.4544, allocations: 67.41 kB / 484.4 MB, free: 11.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002674/0.4571, allocations: 1.44 MB / 485.8 MB, free: 10.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000136/0.4572, allocations: 42.73 kB / 485.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009246/0.4581, allocations: 1.077 MB / 487 MB, free: 9.758 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004107/0.4585, allocations: 427.8 kB / 487.4 MB, free: 9.395 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004332/0.459, allocations: 256.2 kB / 487.6 MB, free: 9.246 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002208/0.4592, allocations: 361.4 kB / 488 MB, free: 8.902 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/0.4603, allocations: 0.6823 MB / 488.7 MB, free: 8.566 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/0.4617, allocations: 1.074 MB / 489.7 MB, free: 7.734 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00266/0.4644, allocations: 1.869 MB / 491.6 MB, free: 6.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.4644, allocations: 3 kB / 491.6 MB, free: 6.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004656/0.4691, allocations: 2.418 MB / 494 MB, free: 4.848 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.4691, allocations: 16 kB / 494 MB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.317e-05/0.4691, allocations: 12 kB / 494 MB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.4702, allocations: 411.3 kB / 494.5 MB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.4714, allocations: 338.9 kB / 494.8 MB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007856/0.4793, allocations: 7.029 MB / 0.49 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/0.481, allocations: 107.9 kB / 0.4902 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002352/0.4813, allocations: 55.98 kB / 0.4902 GB, free: 12.55 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (157): * Single equations (assignments): 153 * Array equations: 0 * 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 {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001722/0.483, allocations: 0.6901 MB / 0.4909 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006246/0.4836, allocations: 170.9 kB / 0.491 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004645/0.4882, allocations: 2.116 MB / 0.4931 GB, free: 9.555 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.4883, allocations: 12 kB / 0.4931 GB, free: 9.543 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.866e-05/0.4883, allocations: 11.38 kB / 0.4931 GB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.938e-05/0.4883, allocations: 7.969 kB / 0.4931 GB, free: 9.527 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01025/0.4985, allocations: 4.57 MB / 0.4976 GB, free: 4.898 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/0.4986, allocations: 11.92 kB / 0.4976 GB, free: 4.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.4996, allocations: 206.9 kB / 0.4978 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00136/0.5009, allocations: 452 kB / 0.4982 GB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001316/0.5011, allocations: 31.98 kB / 0.4983 GB, free: 4.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00944/0.5105, allocations: 8.634 MB / 0.5067 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.5105, allocations: 4 kB / 0.5067 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005703/0.5162, allocations: 3.109 MB / 0.5097 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/0.5173, allocations: 383.9 kB / 0.5101 GB, free: 7.512 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005438/0.5179, allocations: 35.98 kB / 0.5101 GB, free: 7.477 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/0.5191, allocations: 79.91 kB / 0.5102 GB, free: 7.398 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002849/0.5194, allocations: 96.56 kB / 0.5103 GB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.5195, allocations: 36 kB / 0.5103 GB, free: 7.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002137/0.5217, allocations: 0.9888 MB / 0.5113 GB, free: 6.281 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5217, allocations: 4 kB / 0.5113 GB, free: 6.277 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002299/0.524, allocations: 463.9 kB / 0.5118 GB, free: 5.824 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,loadInertia.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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004841/0.5244, allocations: 190.2 kB / 0.5119 GB, free: 5.641 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0043/0.5287, allocations: 2.161 MB / 0.5141 GB, free: 3.469 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/0.5287, allocations: 4.062 kB / 0.5141 GB, free: 3.465 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002566/0.5313, allocations: 1.392 MB / 0.5154 GB, free: 2.051 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002715/0.534, allocations: 419.9 kB / 0.5158 GB, free: 1.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009233/0.5433, allocations: 4.518 MB / 0.5202 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002093/0.5454, allocations: 1.799 MB / 0.522 GB, free: 11.26 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001301/0.5467, allocations: 365.6 kB / 0.5223 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004799/0.5471, allocations: 119.4 kB / 0.5224 GB, free: 10.78 MB / 430.1 MB Notification: Performance of SimCode: time 1.162e-06/0.5471, allocations: 0 / 0.5224 GB, free: 10.78 MB / 430.1 MB Notification: Performance of Templates: time 0.04934/0.5965, allocations: 25.2 MB / 0.5471 GB, free: 1.836 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_Inverter/SMR_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.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: 5.88728934340179]