Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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.001101/0.001101, allocations: 75.75 kB / 21.97 MB, free: 2.602 MB / 18.57 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.001032/0.001032, allocations: 168.9 kB / 25.33 MB, free: 9.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.044/1.044, allocations: 158.6 MB / 187.2 MB, free: 2.938 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 251 MB, free: 7.512 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/3.041e-05, allocations: 2.312 kB / 251.1 MB, free: 7.508 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.007565/0.007595, allocations: 8.011 MB / 259.1 MB, free: 15.45 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004471/0.01207, allocations: 2.627 MB / 261.7 MB, free: 12.82 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008782/0.01294, allocations: 27.88 kB / 261.7 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.01428, allocations: 0.5207 MB / 262.2 MB, free: 12.27 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001116/0.0154, allocations: 0.5194 MB / 262.8 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005385/0.01594, allocations: 251.6 kB / 263 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001663/0.0176, allocations: 1.535 MB / 264.5 MB, free: 9.953 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005159/0.01811, allocations: 371.2 kB / 264.9 MB, free: 9.566 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009242/0.01904, allocations: 0.8651 MB / 265.8 MB, free: 8.699 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005315/0.01957, allocations: 478.6 kB / 266.2 MB, free: 8.23 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.01971, allocations: 136 kB / 266.4 MB, free: 8.098 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002771/0.01999, allocations: 172 kB / 266.5 MB, free: 7.93 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.02015, allocations: 294.8 kB / 266.8 MB, free: 7.641 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003691/0.02052, allocations: 466.8 kB / 267.3 MB, free: 7.184 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009729/0.02149, allocations: 0.9263 MB / 268.2 MB, free: 6.254 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.0215, allocations: 4 kB / 268.2 MB, free: 6.25 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.0215, allocations: 0 / 268.2 MB, free: 6.25 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.529e-05/0.02151, allocations: 0 / 268.2 MB, free: 6.25 MB / 250.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.001613/0.02313, allocations: 1.515 MB / 269.7 MB, free: 4.695 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.02317, allocations: 15.92 kB / 269.7 MB, free: 4.68 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004797/0.02365, allocations: 276 kB / 270 MB, free: 4.41 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000868/0.02452, allocations: 0.6763 MB / 270.7 MB, free: 3.699 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.293e-05/0.02456, allocations: 77.98 kB / 270.8 MB, free: 3.625 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.02466, allocations: 99.95 kB / 270.9 MB, free: 3.527 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009138/0.02557, allocations: 0.8317 MB / 271.7 MB, free: 2.633 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/0.0256, allocations: 7.938 kB / 271.7 MB, free: 2.625 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.371e-05/0.02565, allocations: 40 kB / 271.7 MB, free: 2.586 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.02567, allocations: 24 kB / 271.8 MB, free: 2.562 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000545/0.02622, allocations: 355.7 kB / 272.1 MB, free: 2.215 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003252/0.02947, allocations: 3.632 MB / 275.7 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004187/0.02989, allocations: 268 kB / 276 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003059/0.03019, allocations: 192.2 kB / 276.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.666e-05/0.03023, allocations: 8.328 kB / 276.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.03026, allocations: 37.72 kB / 276.2 MB, free: 13.85 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 2.274e-06/0.03026, allocations: 4 kB / 276.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.001797/0.03206, allocations: 1.005 MB / 277.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.03211, allocations: 85.11 kB / 277.3 MB, free: 12.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006966/0.0328, allocations: 0.7491 MB / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.03283, allocations: 37.64 kB / 278.1 MB, free: 11.89 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003077/0.03314, allocations: 0.6348 MB / 278.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.081e-05/0.03323, allocations: 170.6 kB / 278.9 MB, free: 11.08 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.03335, allocations: 136.2 kB / 279 MB, free: 10.94 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003205/0.03367, allocations: 0.5664 MB / 279.6 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.0338, allocations: 89.94 kB / 279.7 MB, free: 10.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003168/0.03412, allocations: 0.5177 MB / 280.2 MB, free: 9.566 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005222/0.03464, allocations: 0.6289 MB / 280.8 MB, free: 8.754 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.03465, allocations: 4 kB / 280.8 MB, free: 8.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0007547/0.0354, allocations: 0.6436 MB / 281.5 MB, free: 8.094 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.03543, allocations: 8.594 kB / 281.5 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.03544, allocations: 12 kB / 281.5 MB, free: 8.074 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002304/0.03567, allocations: 75.34 kB / 281.6 MB, free: 7.992 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000293/0.03596, allocations: 151.7 kB / 281.7 MB, free: 7.844 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002493/0.03846, allocations: 3.861 MB / 285.6 MB, free: 3.738 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003233/0.03878, allocations: 36.11 kB / 285.6 MB, free: 3.703 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/0.03881, allocations: 32 kB / 285.7 MB, free: 3.672 MB / 266.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.0002303/0.03904, allocations: 204.3 kB / 285.9 MB, free: 3.461 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.832e-05/0.03914, allocations: 99.48 kB / 286 MB, free: 3.363 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005033/0.03964, allocations: 384.3 kB / 286.3 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.03965, allocations: 7.984 kB / 286.3 MB, free: 2.961 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.03965, allocations: 4 kB / 286.3 MB, free: 2.957 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.03966, allocations: 8.047 kB / 286.4 MB, free: 2.949 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.04096, allocations: 1.154 MB / 287.5 MB, free: 1.715 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.04097, allocations: 4 kB / 287.5 MB, free: 1.711 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.04114, allocations: 71.84 kB / 287.6 MB, free: 1.641 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001696/0.04131, allocations: 71.42 kB / 287.7 MB, free: 1.562 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/0.04133, allocations: 12 kB / 287.7 MB, free: 1.551 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002106/0.04344, allocations: 3.842 MB / 291.5 MB, free: 13.47 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.04344, allocations: 4 kB / 291.5 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000654/0.04409, allocations: 0.6602 MB / 292.2 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001949/0.04429, allocations: 111.4 kB / 292.3 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.94e-05/0.04434, allocations: 20.03 kB / 292.3 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.04453, allocations: 19.98 kB / 292.3 MB, free: 12.6 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.205e-05/0.0446, allocations: 35.88 kB / 292.4 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.04462, allocations: 16 kB / 292.4 MB, free: 12.55 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004353/0.04505, allocations: 470.9 kB / 292.8 MB, free: 12.09 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04505, allocations: 0 / 292.8 MB, free: 12.09 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006575/0.04571, allocations: 207.9 kB / 293 MB, free: 11.89 MB / 282.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.000245/0.04595, allocations: 123.1 kB / 293.2 MB, free: 11.76 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007779/0.04673, allocations: 0.6914 MB / 293.8 MB, free: 11.03 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.04674, allocations: 4 kB / 293.8 MB, free: 11.03 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000356/0.04709, allocations: 485.2 kB / 294.3 MB, free: 10.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006327/0.04773, allocations: 214.6 kB / 294.5 MB, free: 10.31 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/0.05038, allocations: 1.616 MB / 296.1 MB, free: 8.621 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.05052, allocations: 171.3 kB / 296.3 MB, free: 8.434 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002568/0.05077, allocations: 94.69 kB / 296.4 MB, free: 8.336 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.503e-05/0.05087, allocations: 56.48 kB / 296.5 MB, free: 8.277 MB / 282.7 MB Notification: Performance of SimCode: time 1.422e-06/0.05087, allocations: 0 / 296.5 MB, free: 8.277 MB / 282.7 MB Notification: Performance of Templates: time 0.01565/0.06652, allocations: 10.1 MB / 306.6 MB, free: 14.21 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.380031841341406]