Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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.001392/0.001392, allocations: 85.91 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001615/0.001615, allocations: 159 kB / 25.61 MB, free: 8.582 MB / 18.57 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.9271/0.9271, allocations: 177 MB / 205.9 MB, free: 4.449 MB / 186.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.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.562e-06/1.562e-06, allocations: 0 / 274.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.358e-05, allocations: 2.312 kB / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.007086/0.007109, allocations: 7.872 MB / 282 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003869/0.01098, allocations: 2.609 MB / 284.6 MB, free: 9.762 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007311/0.01171, allocations: 27.88 kB / 284.6 MB, free: 9.734 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.01289, allocations: 0.5285 MB / 285.2 MB, free: 9.203 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008542/0.01375, allocations: 0.5077 MB / 285.7 MB, free: 8.691 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003836/0.01413, allocations: 251.6 kB / 285.9 MB, free: 8.445 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001895/0.01603, allocations: 1.525 MB / 287.4 MB, free: 6.914 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006212/0.01665, allocations: 383.1 kB / 287.8 MB, free: 6.516 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001252/0.0179, allocations: 0.869 MB / 288.7 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006861/0.01859, allocations: 482.6 kB / 289.1 MB, free: 5.172 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001846/0.01877, allocations: 136 kB / 289.3 MB, free: 5.039 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003211/0.01909, allocations: 168 kB / 289.4 MB, free: 4.875 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001805/0.01927, allocations: 286.9 kB / 289.7 MB, free: 4.594 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005031/0.01978, allocations: 466.9 kB / 290.2 MB, free: 4.137 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.02095, allocations: 0.9262 MB / 291.1 MB, free: 3.207 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.02096, allocations: 0 / 291.1 MB, free: 3.207 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.02096, allocations: 0 / 291.1 MB, free: 3.207 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.361e-05/0.02098, allocations: 0 / 291.1 MB, free: 3.207 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.001982/0.02296, allocations: 1.515 MB / 292.6 MB, free: 1.652 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.023, allocations: 12.03 kB / 292.6 MB, free: 1.641 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005794/0.02358, allocations: 272 kB / 292.9 MB, free: 1.375 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008921/0.02447, allocations: 0.6646 MB / 293.6 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.186e-05/0.02452, allocations: 70 kB / 293.6 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.02464, allocations: 100 kB / 293.7 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009381/0.02558, allocations: 0.7652 MB / 294.5 MB, free: 15.69 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002809/0.02586, allocations: 3.953 kB / 294.5 MB, free: 15.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.677e-05/0.02593, allocations: 40 kB / 294.5 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.02595, allocations: 24 kB / 294.6 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004608/0.02641, allocations: 281.7 kB / 294.8 MB, free: 15.35 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003882/0.03029, allocations: 3.659 MB / 298.5 MB, free: 11.47 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003866/0.03068, allocations: 256 kB / 298.7 MB, free: 11.21 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000304/0.03098, allocations: 180.1 kB / 298.9 MB, free: 11.03 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.03101, allocations: 12.33 kB / 298.9 MB, free: 11.02 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.03104, allocations: 37.72 kB / 299 MB, free: 10.97 MB / 282.7 MB Notification: Performance of pre-optimization done (n=40): time 2.255e-06/0.03104, allocations: 0 / 299 MB, free: 10.97 MB / 282.7 MB Notification: Performance of matching and sorting (n=44): time 0.001383/0.03242, allocations: 0.815 MB / 299.8 MB, free: 10.11 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.03246, allocations: 81.11 kB / 299.9 MB, free: 10.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006778/0.03314, allocations: 0.7292 MB / 300.6 MB, free: 9.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.03316, allocations: 29.7 kB / 300.6 MB, free: 9.234 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003706/0.03353, allocations: 0.6425 MB / 301.3 MB, free: 8.582 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.03365, allocations: 170.5 kB / 301.4 MB, free: 8.414 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004224/0.03407, allocations: 136.2 kB / 301.6 MB, free: 8.273 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.03428, allocations: 0.5741 MB / 302.1 MB, free: 7.688 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.03439, allocations: 65.94 kB / 302.2 MB, free: 7.621 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00034/0.03473, allocations: 0.5098 MB / 302.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005183/0.03525, allocations: 0.6014 MB / 303.3 MB, free: 6.133 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.03525, allocations: 4 kB / 303.3 MB, free: 6.129 MB / 282.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0007891/0.03604, allocations: 0.5969 MB / 303.9 MB, free: 5.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.03606, allocations: 8 kB / 303.9 MB, free: 5.512 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.03608, allocations: 12 kB / 303.9 MB, free: 5.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002011/0.03628, allocations: 79.58 kB / 304 MB, free: 5.414 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003692/0.03665, allocations: 147.8 kB / 304.2 MB, free: 5.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/0.0386, allocations: 3.808 MB / 308 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003819/0.03899, allocations: 35.88 kB / 308 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/0.03902, allocations: 24 kB / 308 MB, free: 1.176 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002145/0.03923, allocations: 208.3 kB / 308.2 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.03935, allocations: 103.5 kB / 308.3 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007128/0.04006, allocations: 347.9 kB / 308.7 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.04006, allocations: 4.094 kB / 308.7 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.04007, allocations: 4.125 kB / 308.7 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.04008, allocations: 7.969 kB / 308.7 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.04134, allocations: 1.015 MB / 309.7 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.04134, allocations: 4 kB / 309.7 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.04156, allocations: 63.91 kB / 309.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000159/0.04172, allocations: 63.55 kB / 309.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.04174, allocations: 16 kB / 309.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/0.04348, allocations: 3.792 MB / 313.6 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.04348, allocations: 4.047 kB / 313.6 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006353/0.04412, allocations: 0.629 MB / 314.3 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001811/0.0443, allocations: 111.4 kB / 314.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.046e-05/0.04437, allocations: 16 kB / 314.4 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000291/0.04466, allocations: 19.98 kB / 314.4 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.497e-05/0.04474, allocations: 39.81 kB / 314.5 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.04476, allocations: 12 kB / 314.5 MB, free: 10.35 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003748/0.04514, allocations: 438.8 kB / 314.9 MB, free: 9.922 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04514, allocations: 0 / 314.9 MB, free: 9.922 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007415/0.04588, allocations: 204 kB / 315.1 MB, free: 9.723 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,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.0001848/0.04606, allocations: 123.1 kB / 315.2 MB, free: 9.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009518/0.04702, allocations: 0.6539 MB / 315.9 MB, free: 8.902 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.04702, allocations: 4.125 kB / 315.9 MB, free: 8.898 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003841/0.0474, allocations: 486.8 kB / 316.3 MB, free: 8.383 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007863/0.04819, allocations: 202.4 kB / 316.5 MB, free: 8.203 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/0.0507, allocations: 1.615 MB / 318.2 MB, free: 6.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.05084, allocations: 171.3 kB / 318.3 MB, free: 6.332 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002887/0.05113, allocations: 102.6 kB / 318.4 MB, free: 6.227 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003881/0.05152, allocations: 262.1 kB / 318.7 MB, free: 5.969 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.05152, allocations: 0 / 318.7 MB, free: 5.969 MB / 298.7 MB Notification: Performance of Templates: time 0.02841/0.07993, allocations: 11.12 MB / 329.8 MB, free: 11.05 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.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.0616168933920562]