Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.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.002169/0.002169, allocations: 82.92 kB / 20.68 MB, free: 1.039 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.002415/0.002415, allocations: 157.7 kB / 23.95 MB, free: 4.168 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.535/1.535, allocations: 177 MB / 204.1 MB, free: 9.16 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.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.984e-05/3.198e-05, allocations: 2.281 kB / 325 MB, free: 488 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01208/0.01211, allocations: 9.08 MB / 334.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006724/0.01883, allocations: 3.148 MB / 337.2 MB, free: 7.758 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009273/0.01976, allocations: 74 kB / 337.3 MB, free: 7.727 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001583/0.02134, allocations: 0.6993 MB / 338 MB, free: 7.199 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002149/0.02349, allocations: 0.9108 MB / 338.9 MB, free: 6.434 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008634/0.02436, allocations: 436 kB / 339.4 MB, free: 6.059 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003371/0.02773, allocations: 3.091 MB / 342.4 MB, free: 3.578 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001967/0.02969, allocations: 1.329 MB / 343.8 MB, free: 2.184 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003165/0.03286, allocations: 2.023 MB / 345.8 MB, free: 160 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002377/0.03524, allocations: 1.5 MB / 347.3 MB, free: 14.65 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005464/0.03578, allocations: 352 kB / 347.6 MB, free: 14.31 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000949/0.03673, allocations: 463.8 kB / 348.1 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001171/0.0379, allocations: 1.056 MB / 349.2 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001583/0.03949, allocations: 1.111 MB / 350.3 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005914/0.0454, allocations: 4.76 MB / 355 MB, free: 6.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.04541, allocations: 0 / 355 MB, free: 6.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.04541, allocations: 0 / 355 MB, free: 6.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001154/0.04552, allocations: 3.938 kB / 355 MB, free: 6.906 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.007142/0.05266, allocations: 3.252 MB / 358.3 MB, free: 3.602 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.0527, allocations: 8.031 kB / 358.3 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.05389, allocations: 374.9 kB / 358.7 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003343/0.05724, allocations: 1.716 MB / 360.4 MB, free: 1.469 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001643/0.0574, allocations: 173 kB / 360.5 MB, free: 1.297 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003918/0.05779, allocations: 236.4 kB / 360.8 MB, free: 1.066 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005637/0.06343, allocations: 3.237 MB / 364 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.024e-05/0.06349, allocations: 11.95 kB / 364 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002581/0.06375, allocations: 92 kB / 364.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001317/0.06388, allocations: 108.6 kB / 364.2 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00494/0.06882, allocations: 2.696 MB / 366.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01552/0.08434, allocations: 8.394 MB / 375.3 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00274/0.08708, allocations: 1.408 MB / 376.7 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002121/0.0892, allocations: 1.042 MB / 377.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002381/0.08943, allocations: 52.97 kB / 377.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/0.08948, allocations: 47.56 kB / 377.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=116): time 3.386e-06/0.08948, allocations: 0 / 377.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=131): time 0.0153/0.1048, allocations: 6.338 MB / 384.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.1048, allocations: 64.72 kB / 384.3 MB, free: 9.129 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002514/0.1073, allocations: 1.623 MB / 385.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.1075, allocations: 45.7 kB / 385.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001032/0.1085, allocations: 1.201 MB / 387.1 MB, free: 6.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004351/0.1089, allocations: 460 kB / 387.6 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005076/0.1094, allocations: 287.5 kB / 387.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1096, allocations: 301.1 kB / 388.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001442/0.111, allocations: 0.7925 MB / 388.9 MB, free: 4.402 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/0.1129, allocations: 1.209 MB / 390.1 MB, free: 3.023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003357/0.1162, allocations: 2.094 MB / 392.2 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.355e-06/0.1162, allocations: 4 kB / 392.2 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004876/0.1211, allocations: 2.596 MB / 394.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.1211, allocations: 15.98 kB / 394.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/0.1211, allocations: 12 kB / 394.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.1222, allocations: 415 kB / 395.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.1237, allocations: 367.4 kB / 395.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007734/0.1314, allocations: 6.628 MB / 402.3 MB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.1327, allocations: 107.8 kB / 402.4 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.1328, allocations: 63.94 kB / 402.4 MB, free: 6.234 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * 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.001422/0.1343, allocations: 0.8043 MB / 403.2 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003305/0.1346, allocations: 190.8 kB / 403.4 MB, free: 5.234 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00448/0.1391, allocations: 2.28 MB / 405.7 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.1391, allocations: 16 kB / 405.7 MB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.1391, allocations: 4 kB / 405.7 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.1391, allocations: 3.984 kB / 405.7 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008686/0.1478, allocations: 4.451 MB / 410.2 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.1478, allocations: 4 kB / 410.2 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/0.1489, allocations: 232.1 kB / 410.4 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0013/0.1502, allocations: 455 kB / 410.8 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.1503, allocations: 31.98 kB / 410.9 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009748/0.1601, allocations: 8.081 MB / 419 MB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/0.1601, allocations: 7.938 kB / 419 MB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006336/0.1664, allocations: 3.423 MB / 422.4 MB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.1674, allocations: 342.8 kB / 422.7 MB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003729/0.1678, allocations: 31.98 kB / 422.8 MB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.1689, allocations: 87.91 kB / 422.8 MB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003182/0.1692, allocations: 124.7 kB / 423 MB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.1693, allocations: 35.98 kB / 423 MB, free: 1.039 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001853/0.1712, allocations: 1.101 MB / 424.1 MB, free: 15.94 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1712, allocations: 0 / 424.1 MB, free: 15.94 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001827/0.173, allocations: 0.4999 MB / 424.6 MB, free: 15.44 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * 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,1,100.0%), (1,6,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.000448/0.1734, allocations: 199 kB / 424.8 MB, free: 15.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004379/0.1778, allocations: 2.314 MB / 427.1 MB, free: 12.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.1778, allocations: 6 kB / 427.1 MB, free: 12.88 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002787/0.1806, allocations: 1.555 MB / 428.7 MB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002019/0.1826, allocations: 419.7 kB / 429.1 MB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008016/0.1906, allocations: 4.92 MB / 434 MB, free: 5.863 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001736/0.1924, allocations: 1.431 MB / 435.4 MB, free: 4.395 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001127/0.1935, allocations: 426.3 kB / 435.8 MB, free: 3.973 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004123/0.1939, allocations: 128.5 kB / 436 MB, free: 3.848 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1939, allocations: 0 / 436 MB, free: 3.848 MB / 398.1 MB Notification: Performance of Templates: time 0.05019/0.2441, allocations: 26.81 MB / 462.8 MB, free: 9.324 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.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.555605035275221]