Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_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.001066/0.001066, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00156/0.002627, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001138/0.001138, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001389/0.002527, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.924/0.924, allocations: 177.4 MB / 189.9 MB, free: 4.848 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08646/1.01, allocations: 53.87 MB / 243.7 MB, free: 14.92 MB / 250.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.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.51e-05/1.67e-05, allocations: 6.25 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.009929/0.009945, allocations: 11.54 MB / 256.6 MB, free: 2.059 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007298/0.01724, allocations: 4.075 MB / 260.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001882/0.01913, allocations: 87.5 kB / 260.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001521/0.02065, allocations: 0.8712 MB / 261.6 MB, free: 13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002093/0.02274, allocations: 1.067 MB / 262.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.02391, allocations: 0.5419 MB / 263.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003055/0.02696, allocations: 3.595 MB / 266.8 MB, free: 7.777 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/0.02849, allocations: 1.522 MB / 268.3 MB, free: 6.176 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003495/0.03199, allocations: 2.803 MB / 271.1 MB, free: 3.348 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001962/0.03395, allocations: 1.722 MB / 272.8 MB, free: 1.621 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000706/0.03466, allocations: 396 kB / 273.2 MB, free: 1.234 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.0357, allocations: 0.6127 MB / 273.8 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1073/0.143, allocations: 0.9389 MB / 274.8 MB, free: 7.355 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002929/0.1459, allocations: 1.03 MB / 275.8 MB, free: 7.355 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003656/0.1496, allocations: 2.807 MB / 278.6 MB, free: 7.109 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.187e-05/0.1496, allocations: 0 / 278.6 MB, free: 7.109 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1496, allocations: 0 / 278.6 MB, free: 7.109 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000149/0.1497, allocations: 0 / 278.6 MB, free: 7.109 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.006887/0.1566, allocations: 4.124 MB / 282.7 MB, free: 5.664 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.1566, allocations: 10.44 kB / 282.8 MB, free: 5.664 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/0.1581, allocations: 0.6554 MB / 283.4 MB, free: 5.566 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002283/0.1604, allocations: 1.323 MB / 284.7 MB, free: 5.066 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.1605, allocations: 203 kB / 284.9 MB, free: 5.059 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003183/0.1609, allocations: 269.6 kB / 285.2 MB, free: 5.055 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002714/0.1636, allocations: 2.067 MB / 287.3 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.954e-05/0.1636, allocations: 3.656 kB / 287.3 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001561/0.1638, allocations: 111 kB / 287.4 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.078e-05/0.1639, allocations: 129.2 kB / 287.5 MB, free: 4.637 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.165, allocations: 0.7789 MB / 288.3 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007596/0.1726, allocations: 7.243 MB / 295.5 MB, free: 1.715 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007372/0.1733, allocations: 0.7943 MB / 296.3 MB, free: 1.609 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004805/0.1738, allocations: 458.2 kB / 296.8 MB, free: 1.594 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00016/0.174, allocations: 63.67 kB / 296.8 MB, free: 1.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.174, allocations: 44.31 kB / 296.9 MB, free: 1.551 MB / 266.7 MB Notification: Performance of pre-optimization done (n=130): time 3.106e-06/0.174, allocations: 0 / 296.9 MB, free: 1.551 MB / 266.7 MB Notification: Performance of matching and sorting (n=147): time 0.004696/0.1787, allocations: 2.845 MB / 299.7 MB, free: 432 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.005e-05/0.1787, allocations: 68.72 kB / 299.8 MB, free: 352 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0017/0.1804, allocations: 1.403 MB / 301.2 MB, free: 15.67 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.909e-05/0.1805, allocations: 45.7 kB / 301.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004843/0.181, allocations: 1.117 MB / 302.3 MB, free: 14.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002749/0.1813, allocations: 0.5215 MB / 302.9 MB, free: 14.07 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002901/0.1816, allocations: 308.4 kB / 303.2 MB, free: 13.81 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.58e-05/0.1816, allocations: 308.1 kB / 303.5 MB, free: 13.51 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002874/0.1819, allocations: 206.7 kB / 303.7 MB, free: 13.3 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008231/0.1827, allocations: 0.6636 MB / 304.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008752/0.1836, allocations: 1.074 MB / 305.4 MB, free: 11.3 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.1836, allocations: 4 kB / 305.4 MB, free: 11.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.001414/0.185, allocations: 1.194 MB / 306.6 MB, free: 10.2 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.185, allocations: 12 kB / 306.6 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.1851, allocations: 12 kB / 306.6 MB, free: 10.17 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006141/0.1857, allocations: 300.1 kB / 306.9 MB, free: 9.879 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009252/0.1866, allocations: 435.8 kB / 307.4 MB, free: 9.477 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002463/0.1891, allocations: 3.753 MB / 311.1 MB, free: 5.609 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007236/0.1898, allocations: 63.94 kB / 311.2 MB, free: 5.547 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003436/0.1901, allocations: 63.98 kB / 311.2 MB, free: 5.484 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 193 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006109/0.1907, allocations: 220.6 kB / 311.4 MB, free: 5.285 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/0.191, allocations: 187.2 kB / 311.6 MB, free: 5.105 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/0.1922, allocations: 0.9808 MB / 312.6 MB, free: 4.133 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/0.1922, allocations: 16 kB / 312.6 MB, free: 4.117 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1922, allocations: 8 kB / 312.6 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.1922, allocations: 7.969 kB / 312.6 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003512/0.1957, allocations: 2.84 MB / 315.5 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.1957, allocations: 4 kB / 315.5 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008299/0.1965, allocations: 348.5 kB / 315.8 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005349/0.1971, allocations: 254.5 kB / 316.1 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007587/0.1978, allocations: 329.6 kB / 316.4 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.766e-05/0.1979, allocations: 35.98 kB / 316.4 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003345/0.2013, allocations: 4.949 MB / 321.4 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.2013, allocations: 7.562 kB / 321.4 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.203, allocations: 1.432 MB / 322.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002337/0.2032, allocations: 32 kB / 322.8 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004802/0.2037, allocations: 63.95 kB / 322.9 MB, free: 9.922 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/0.2038, allocations: 119.9 kB / 323 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.978e-05/0.2039, allocations: 39.98 kB / 323.1 MB, free: 9.773 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006931/0.2046, allocations: 0.6601 MB / 323.7 MB, free: 9.191 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2046, allocations: 0 / 323.7 MB, free: 9.191 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001685/0.2063, allocations: 0.5691 MB / 324.3 MB, free: 8.625 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 119 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,16,100.0%), (1,6,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000361/0.2066, allocations: 212.9 kB / 324.5 MB, free: 8.422 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001488/0.2081, allocations: 1.205 MB / 325.7 MB, free: 7.273 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.836e-05/0.2082, allocations: 32.44 kB / 325.7 MB, free: 7.246 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.2093, allocations: 0.9127 MB / 326.7 MB, free: 6.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.2105, allocations: 0.5841 MB / 327.2 MB, free: 5.773 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02299/0.2335, allocations: 4.739 MB / 332 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007609/0.2342, allocations: 0.6283 MB / 332.6 MB, free: 352 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.001085/0.2353, allocations: 250 kB / 332.8 MB, free: 100 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009647/0.2363, allocations: 459.1 kB / 333.3 MB, free: 15.64 MB / 314.7 MB Notification: Performance of SimCode: time 1.513e-06/0.2363, allocations: 0 / 333.3 MB, free: 15.64 MB / 314.7 MB Notification: Performance of Templates: time 0.04446/0.2807, allocations: 31.58 MB / 364.9 MB, free: 0.5195 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.384474039077759]