Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001691/0.002824, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001354/0.002435, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9179/0.9179, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08464/1.003, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.172e-05, allocations: 6.25 kB / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.02388/0.0239, allocations: 11.53 MB / 256.1 MB, free: 2.723 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01049/0.0344, allocations: 4.071 MB / 260.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00162/0.03602, allocations: 79.5 kB / 260.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001949/0.03797, allocations: 0.879 MB / 261.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002713/0.04068, allocations: 1.067 MB / 262.2 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.04177, allocations: 0.5342 MB / 262.7 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003413/0.04518, allocations: 3.598 MB / 266.3 MB, free: 8.453 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002087/0.04727, allocations: 1.526 MB / 267.8 MB, free: 6.848 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003806/0.05108, allocations: 2.792 MB / 270.6 MB, free: 4.035 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002112/0.05319, allocations: 1.718 MB / 272.3 MB, free: 2.312 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004926/0.05368, allocations: 396 kB / 272.7 MB, free: 1.926 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009347/0.05462, allocations: 0.6128 MB / 273.3 MB, free: 1.312 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007176/0.05533, allocations: 0.9507 MB / 274.3 MB, free: 368 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1065/0.1618, allocations: 1.027 MB / 275.3 MB, free: 7.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003641/0.1655, allocations: 2.796 MB / 278.1 MB, free: 7.414 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.631e-05/0.1655, allocations: 0.7031 kB / 278.1 MB, free: 7.414 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1655, allocations: 3.344 kB / 278.1 MB, free: 7.414 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.817e-05/0.1656, allocations: 0 / 278.1 MB, free: 7.414 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.005621/0.1712, allocations: 4.111 MB / 282.2 MB, free: 5.973 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.1712, allocations: 10.62 kB / 282.2 MB, free: 5.973 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001281/0.1725, allocations: 0.6583 MB / 282.9 MB, free: 5.875 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002131/0.1747, allocations: 1.318 MB / 284.2 MB, free: 5.375 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.1748, allocations: 203.7 kB / 284.4 MB, free: 5.367 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002774/0.1751, allocations: 273.1 kB / 284.7 MB, free: 5.363 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002732/0.1778, allocations: 2.063 MB / 286.7 MB, free: 4.953 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.3e-05/0.1778, allocations: 3.953 kB / 286.7 MB, free: 4.949 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001593/0.178, allocations: 110.4 kB / 286.8 MB, free: 4.949 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.649e-05/0.1781, allocations: 123.4 kB / 287 MB, free: 4.941 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.1793, allocations: 0.7818 MB / 287.7 MB, free: 4.848 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00826/0.1876, allocations: 7.235 MB / 295 MB, free: 2.035 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008769/0.1884, allocations: 0.8028 MB / 295.8 MB, free: 1.926 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005103/0.189, allocations: 463.9 kB / 296.2 MB, free: 1.902 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001709/0.1891, allocations: 61.27 kB / 296.3 MB, free: 1.898 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.1892, allocations: 49.31 kB / 296.3 MB, free: 1.859 MB / 266.7 MB Notification: Performance of pre-optimization done (n=131): time 5.05e-06/0.1892, allocations: 7.562 kB / 296.4 MB, free: 1.855 MB / 266.7 MB Notification: Performance of matching and sorting (n=148): time 0.006271/0.1954, allocations: 2.921 MB / 299.3 MB, free: 1.109 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.1955, allocations: 64.72 kB / 299.3 MB, free: 1.035 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.1965, allocations: 1.296 MB / 300.6 MB, free: 220 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.543e-05/0.1966, allocations: 49.7 kB / 300.7 MB, free: 164 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008284/0.1974, allocations: 1.11 MB / 301.8 MB, free: 15.26 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000309/0.1977, allocations: 0.5319 MB / 302.3 MB, free: 14.8 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003087/0.198, allocations: 308.9 kB / 302.6 MB, free: 14.56 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.505e-05/0.1981, allocations: 304.9 kB / 302.9 MB, free: 14.26 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003138/0.1984, allocations: 209.2 kB / 303.1 MB, free: 14.08 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005322/0.1989, allocations: 0.6754 MB / 303.8 MB, free: 13.27 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.2, allocations: 1.075 MB / 304.9 MB, free: 12.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/0.2, allocations: 4 kB / 304.9 MB, free: 12.08 MB / 282.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.001871/0.2019, allocations: 1.189 MB / 306.1 MB, free: 10.99 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.2019, allocations: 16.06 kB / 306.1 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/0.2019, allocations: 16 kB / 306.1 MB, free: 10.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006959/0.2026, allocations: 296.1 kB / 306.4 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009444/0.2036, allocations: 444.1 kB / 306.8 MB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003054/0.2066, allocations: 3.747 MB / 310.6 MB, free: 6.398 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.2078, allocations: 71.92 kB / 310.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.98e-05/0.2079, allocations: 60 kB / 310.7 MB, free: 6.27 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 (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.0008294/0.2087, allocations: 221.8 kB / 310.9 MB, free: 6.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003267/0.209, allocations: 175.8 kB / 311.1 MB, free: 5.898 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.2104, allocations: 0.9803 MB / 312.1 MB, free: 4.914 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.306e-05/0.2104, allocations: 19.47 kB / 312.1 MB, free: 4.898 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.2104, allocations: 8 kB / 312.1 MB, free: 4.891 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.2104, allocations: 11.97 kB / 312.1 MB, free: 4.879 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003921/0.2143, allocations: 2.844 MB / 315 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.2143, allocations: 4 kB / 315 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007984/0.2151, allocations: 351.7 kB / 315.3 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006008/0.2157, allocations: 258.2 kB / 315.6 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007313/0.2165, allocations: 336.8 kB / 315.9 MB, free: 1.43 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.965e-05/0.2165, allocations: 35.98 kB / 315.9 MB, free: 1.395 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00329/0.2198, allocations: 4.94 MB / 320.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/0.2198, allocations: 11.38 kB / 320.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/0.2218, allocations: 1.437 MB / 322.3 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003621/0.2221, allocations: 32 kB / 322.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005498/0.2227, allocations: 63.95 kB / 322.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/0.2229, allocations: 116.3 kB / 322.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-05/0.2229, allocations: 28 kB / 322.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00092/0.2239, allocations: 0.665 MB / 323.2 MB, free: 9.961 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.2239, allocations: 0 / 323.2 MB, free: 9.961 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002055/0.2259, allocations: 0.5729 MB / 323.8 MB, free: 9.391 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 (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%), (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.0003946/0.2263, allocations: 209.4 kB / 324 MB, free: 9.191 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001651/0.228, allocations: 1.209 MB / 325.2 MB, free: 8.039 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.548e-05/0.228, allocations: 40.42 kB / 325.2 MB, free: 8.004 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009852/0.229, allocations: 0.9187 MB / 326.1 MB, free: 7.094 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/0.2305, allocations: 0.5789 MB / 326.7 MB, free: 6.523 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01897/0.2495, allocations: 4.731 MB / 331.5 MB, free: 1.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008356/0.2503, allocations: 0.6321 MB / 332.1 MB, free: 1.094 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.001231/0.2515, allocations: 243.8 kB / 332.3 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009148/0.2525, allocations: 459 kB / 332.8 MB, free: 404 kB / 298.7 MB Notification: Performance of SimCode: time 1.983e-06/0.2525, allocations: 0 / 332.8 MB, free: 404 kB / 298.7 MB Notification: Performance of Templates: time 0.04357/0.296, allocations: 31.64 MB / 364.4 MB, free: 1.277 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.581156762316823]