Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.001531/0.001531, allocations: 85.91 kB / 22.22 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.001068/0.001068, allocations: 167.4 kB / 25.61 MB, free: 8.578 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.9463/0.9463, allocations: 177 MB / 205.9 MB, free: 4.453 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.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 274.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.162e-05/1.3e-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.DCEE_Start): time 0.0061/0.006113, allocations: 7.778 MB / 281.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003293/0.009406, allocations: 2.551 MB / 284.5 MB, free: 9.918 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004849/0.009891, allocations: 27.88 kB / 284.5 MB, free: 9.891 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009539/0.01084, allocations: 0.5208 MB / 285 MB, free: 9.367 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006541/0.0115, allocations: 0.5077 MB / 285.5 MB, free: 8.855 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.01179, allocations: 243.7 kB / 285.7 MB, free: 8.617 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009583/0.01274, allocations: 1.486 MB / 287.2 MB, free: 7.125 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004173/0.01316, allocations: 383.2 kB / 287.6 MB, free: 6.727 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006769/0.01384, allocations: 0.8456 MB / 288.5 MB, free: 5.879 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003965/0.01424, allocations: 462.6 kB / 288.9 MB, free: 5.426 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.01434, allocations: 132 kB / 289 MB, free: 5.297 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001842/0.01452, allocations: 176 kB / 289.2 MB, free: 5.125 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001333/0.01466, allocations: 274.9 kB / 289.5 MB, free: 4.855 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002929/0.01495, allocations: 454.9 kB / 289.9 MB, free: 4.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007382/0.01569, allocations: 0.899 MB / 290.8 MB, free: 3.508 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.01569, allocations: 0 / 290.8 MB, free: 3.508 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.01569, allocations: 3.938 kB / 290.8 MB, free: 3.504 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.318e-06/0.0157, allocations: 0 / 290.8 MB, free: 3.504 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.001316/0.01702, allocations: 1.495 MB / 292.3 MB, free: 1.969 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.604e-05/0.01704, allocations: 8.031 kB / 292.3 MB, free: 1.961 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003603/0.0174, allocations: 256.1 kB / 292.6 MB, free: 1.711 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005944/0.018, allocations: 0.6489 MB / 293.2 MB, free: 1.031 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.811e-05/0.01803, allocations: 73.94 kB / 293.3 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.515e-05/0.01813, allocations: 99.95 kB / 293.4 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006302/0.01876, allocations: 0.7323 MB / 294.1 MB, free: 76 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.01878, allocations: 7.984 kB / 294.1 MB, free: 68 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.01883, allocations: 40 kB / 294.2 MB, free: 28 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.01884, allocations: 24 kB / 294.2 MB, free: 4 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000322/0.01916, allocations: 269.7 kB / 294.5 MB, free: 15.74 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002626/0.02179, allocations: 3.654 MB / 298.1 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.02201, allocations: 191 kB / 298.3 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.989e-05/0.02209, allocations: 71.62 kB / 298.4 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.02211, allocations: 4 kB / 298.4 MB, free: 11.58 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.02213, allocations: 37.39 kB / 298.4 MB, free: 11.54 MB / 282.7 MB Notification: Performance of pre-optimization done (n=32): time 1.342e-06/0.02213, allocations: 0 / 298.4 MB, free: 11.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.0008032/0.02294, allocations: 0.6598 MB / 299.1 MB, free: 10.84 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.02297, allocations: 81.11 kB / 299.1 MB, free: 10.74 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005004/0.02347, allocations: 0.7369 MB / 299.9 MB, free: 9.984 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.02348, allocations: 29.7 kB / 299.9 MB, free: 9.949 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002819/0.02377, allocations: 0.654 MB / 300.6 MB, free: 9.285 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.342e-05/0.02383, allocations: 130.9 kB / 300.7 MB, free: 9.156 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.02394, allocations: 136.2 kB / 300.8 MB, free: 9.016 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.02411, allocations: 0.5741 MB / 301.4 MB, free: 8.43 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.909e-05/0.02417, allocations: 57.94 kB / 301.5 MB, free: 8.371 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.02443, allocations: 0.5261 MB / 302 MB, free: 7.641 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003695/0.0248, allocations: 0.6065 MB / 302.6 MB, free: 6.84 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.0248, allocations: 0 / 302.6 MB, free: 6.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0005039/0.0253, allocations: 0.5434 MB / 303.1 MB, free: 6.285 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.02532, allocations: 8 kB / 303.1 MB, free: 6.277 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.02533, allocations: 12 kB / 303.2 MB, free: 6.266 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.064e-05/0.02542, allocations: 31.67 kB / 303.2 MB, free: 6.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/0.02568, allocations: 155.7 kB / 303.3 MB, free: 6.078 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006746/0.02635, allocations: 1.725 MB / 305.1 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.02657, allocations: 35.94 kB / 305.1 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.02659, allocations: 31.94 kB / 305.1 MB, free: 4.176 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000153/0.02675, allocations: 204.3 kB / 305.3 MB, free: 3.965 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.692e-05/0.02682, allocations: 91.61 kB / 305.4 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/0.02709, allocations: 260.3 kB / 305.7 MB, free: 3.602 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.02709, allocations: 0 / 305.7 MB, free: 3.602 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.0271, allocations: 7.938 kB / 305.7 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.0271, allocations: 0 / 305.7 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007794/0.02788, allocations: 0.8818 MB / 306.6 MB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.02788, allocations: 4 kB / 306.6 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.02805, allocations: 72.12 kB / 306.6 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.527e-05/0.02811, allocations: 23.67 kB / 306.7 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.02812, allocations: 8 kB / 306.7 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005953/0.02872, allocations: 1.713 MB / 308.4 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.02872, allocations: 8 kB / 308.4 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/0.02909, allocations: 0.5275 MB / 308.9 MB, free: 124 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.02921, allocations: 99.48 kB / 309 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.877e-05/0.02926, allocations: 15.94 kB / 309 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.02944, allocations: 20.03 kB / 309 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.02948, allocations: 27.91 kB / 309.1 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.02949, allocations: 8 kB / 309.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002853/0.02978, allocations: 430.8 kB / 309.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02978, allocations: 4 kB / 309.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004222/0.0302, allocations: 188 kB / 309.7 MB, free: 15.35 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001465/0.03035, allocations: 123.1 kB / 309.8 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004084/0.03076, allocations: 451.9 kB / 310.3 MB, free: 14.76 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.03076, allocations: 0.8125 kB / 310.3 MB, free: 14.76 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001705/0.03093, allocations: 269.4 kB / 310.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00053/0.03146, allocations: 194.6 kB / 310.7 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.03329, allocations: 1.591 MB / 312.3 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.0334, allocations: 166.8 kB / 312.5 MB, free: 12.45 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002062/0.0336, allocations: 94.23 kB / 312.6 MB, free: 12.36 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003047/0.03391, allocations: 254.1 kB / 312.8 MB, free: 12.11 MB / 298.7 MB Notification: Performance of SimCode: time 8.22e-07/0.03391, allocations: 0 / 312.8 MB, free: 12.11 MB / 298.7 MB Notification: Performance of Templates: time 0.01288/0.04679, allocations: 9.929 MB / 322.7 MB, free: 2.379 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_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.084500157739967]