Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 79.91 kB / 21.18 MB, free: 3.395 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9939/0.9939, allocations: 173.3 MB / 201.1 MB, free: 9.355 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.667e-05/1.827e-05, allocations: 2.312 kB / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.009809/0.009828, allocations: 11.69 MB / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005946/0.01577, allocations: 3.862 MB / 283.6 MB, free: 6.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001725/0.0175, allocations: 79.5 kB / 283.6 MB, free: 6.742 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001651/0.01915, allocations: 0.8467 MB / 284.5 MB, free: 5.895 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001927/0.02108, allocations: 1.067 MB / 285.5 MB, free: 4.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008935/0.02197, allocations: 0.5265 MB / 286.1 MB, free: 4.293 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002742/0.02471, allocations: 3.567 MB / 289.6 MB, free: 0.707 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1248/0.1495, allocations: 1.491 MB / 291.1 MB, free: 16.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003688/0.1532, allocations: 2.305 MB / 293.4 MB, free: 16.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003213/0.1564, allocations: 1.813 MB / 295.2 MB, free: 16.37 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00121/0.1576, allocations: 413.3 kB / 295.6 MB, free: 16.37 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001279/0.1589, allocations: 0.6258 MB / 296.3 MB, free: 16.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001123/0.16, allocations: 1.209 MB / 297.5 MB, free: 16.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002374/0.1624, allocations: 1.284 MB / 298.8 MB, free: 16.37 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004168/0.1665, allocations: 3.047 MB / 301.8 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1665, allocations: 0 / 301.8 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1665, allocations: 0 / 301.8 MB, free: 15.92 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001531/0.1667, allocations: 3.531 kB / 301.8 MB, free: 15.92 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.005353/0.172, allocations: 3.889 MB / 305.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.1721, allocations: 11.45 kB / 305.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.1732, allocations: 0.6552 MB / 306.4 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001948/0.1751, allocations: 1.791 MB / 308.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.049e-05/0.1752, allocations: 201.6 kB / 308.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002539/0.1754, allocations: 272.6 kB / 308.6 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002725/0.1782, allocations: 2.211 MB / 310.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.346e-05/0.1782, allocations: 3.375 kB / 310.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/0.1784, allocations: 108.8 kB / 310.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001081/0.1785, allocations: 119.9 kB / 311.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/0.1802, allocations: 1.003 MB / 312.1 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008019/0.1883, allocations: 9.187 MB / 321.3 MB, free: 1.961 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.1894, allocations: 0.8429 MB / 322.1 MB, free: 1.141 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007015/0.1901, allocations: 0.5507 MB / 322.6 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001792/0.1902, allocations: 61.03 kB / 322.7 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.1903, allocations: 47.89 kB / 322.8 MB, free: 488 kB / 266.7 MB Notification: Performance of pre-optimization done (n=131): time 3.416e-06/0.1903, allocations: 0 / 322.8 MB, free: 488 kB / 266.7 MB Notification: Performance of matching and sorting (n=148): time 0.006195/0.1965, allocations: 3.758 MB / 326.5 MB, free: 12.73 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.1965, allocations: 72.72 kB / 326.6 MB, free: 12.65 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/0.1981, allocations: 1.586 MB / 328.2 MB, free: 11.05 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.28e-05/0.1982, allocations: 45.7 kB / 328.2 MB, free: 11 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007371/0.1989, allocations: 1.437 MB / 329.7 MB, free: 9.555 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000304/0.1992, allocations: 0.5396 MB / 330.2 MB, free: 9.023 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003421/0.1995, allocations: 337.1 kB / 330.5 MB, free: 8.684 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1996, allocations: 480.7 kB / 331 MB, free: 8.211 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004788/0.2001, allocations: 279.8 kB / 331.3 MB, free: 7.938 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007621/0.2009, allocations: 0.9591 MB / 332.2 MB, free: 6.699 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.2023, allocations: 1.386 MB / 333.6 MB, free: 5.094 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.2023, allocations: 4 kB / 333.6 MB, free: 5.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002212/0.2045, allocations: 1.632 MB / 335.2 MB, free: 3.547 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.2045, allocations: 15.84 kB / 335.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/0.2045, allocations: 16 kB / 335.3 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007794/0.2053, allocations: 314.7 kB / 335.6 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008857/0.2062, allocations: 428.8 kB / 336 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003508/0.2097, allocations: 5.094 MB / 341.1 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.2107, allocations: 115.8 kB / 341.2 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.2108, allocations: 72 kB / 341.3 MB, free: 13.33 MB / 298.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 (199): * Single equations (assignments): 194 * 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.00072/0.2116, allocations: 270.7 kB / 341.5 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003415/0.2119, allocations: 254.7 kB / 341.8 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/0.2138, allocations: 1.291 MB / 343.1 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.319e-05/0.2138, allocations: 19.94 kB / 343.1 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.2138, allocations: 8 kB / 343.1 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.2138, allocations: 7.969 kB / 343.1 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005221/0.219, allocations: 3.628 MB / 346.7 MB, free: 7.816 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.2191, allocations: 4 kB / 346.7 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006636/0.2197, allocations: 269.7 kB / 347 MB, free: 7.562 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008996/0.2206, allocations: 368.9 kB / 347.4 MB, free: 7.195 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-05/0.2207, allocations: 39.36 kB / 347.4 MB, free: 7.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004468/0.2252, allocations: 6.92 MB / 354.3 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.2252, allocations: 7.281 kB / 354.3 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002768/0.2279, allocations: 1.883 MB / 356.2 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007287/0.2287, allocations: 370.5 kB / 356.6 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.2288, allocations: 32 kB / 356.6 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005781/0.2294, allocations: 99.89 kB / 356.7 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002167/0.2296, allocations: 124.3 kB / 356.8 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.099e-05/0.2297, allocations: 40 kB / 356.9 MB, free: 13.3 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00112/0.2308, allocations: 0.9257 MB / 357.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2308, allocations: 0 / 357.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001653/0.2325, allocations: 0.5888 MB / 358.4 MB, free: 11.8 MB / 314.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 (125): * Single equations (assignments): 120 * 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%), (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.0003858/0.2329, allocations: 220.8 kB / 358.6 MB, free: 11.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002055/0.2349, allocations: 1.536 MB / 360.1 MB, free: 10.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.2349, allocations: 0 / 360.1 MB, free: 10.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.2363, allocations: 1.212 MB / 361.4 MB, free: 8.832 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.2375, allocations: 449.2 kB / 361.8 MB, free: 8.406 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006795/0.2443, allocations: 4.806 MB / 366.6 MB, free: 3.512 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006292/0.245, allocations: 0.7124 MB / 367.3 MB, free: 2.777 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007767/0.2457, allocations: 363.4 kB / 367.7 MB, free: 2.418 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003122/0.2461, allocations: 128.5 kB / 367.8 MB, free: 2.293 MB / 314.7 MB Notification: Performance of SimCode: time 1.754e-06/0.2461, allocations: 0 / 367.8 MB, free: 2.293 MB / 314.7 MB Notification: Performance of Templates: time 0.03877/0.2848, allocations: 29.68 MB / 397.5 MB, free: 5.055 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.964033027179539]