Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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.001028/0.001028, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001525/0.002553, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001079/0.001079, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001406/0.002485, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 1.033/1.033, allocations: 177.5 MB / 190 MB, free: 4.75 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08803/1.121, allocations: 53.88 MB / 243.9 MB, free: 14.8 MB / 250.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_SinglePhase,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_SinglePhase") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,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_SinglePhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 245.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.934e-05/2.063e-05, allocations: 2.312 kB / 245.2 MB, free: 13.51 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.01432/0.01434, allocations: 8.098 MB / 253.3 MB, free: 5.367 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01134/0.02568, allocations: 2.87 MB / 256.2 MB, free: 2.488 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.02691, allocations: 31.88 kB / 256.2 MB, free: 2.457 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004584/0.03149, allocations: 0.5517 MB / 256.8 MB, free: 1.902 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001411/0.0329, allocations: 0.5194 MB / 257.3 MB, free: 1.379 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003587/0.03649, allocations: 275.5 kB / 257.6 MB, free: 1.109 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001814/0.0383, allocations: 1.564 MB / 259.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005995/0.0389, allocations: 383.3 kB / 259.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001748/0.04065, allocations: 1.037 MB / 260.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007548/0.04141, allocations: 494.5 kB / 261 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001938/0.0416, allocations: 136 kB / 261.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004114/0.04201, allocations: 180 kB / 261.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.04218, allocations: 219.2 kB / 261.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004374/0.04262, allocations: 391.3 kB / 261.9 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009449/0.04356, allocations: 0.9067 MB / 262.8 MB, free: 11.78 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.281e-05/0.04358, allocations: 0 / 262.8 MB, free: 11.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.572e-06/0.04358, allocations: 0 / 262.8 MB, free: 11.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.092e-05/0.04361, allocations: 4 kB / 262.8 MB, free: 11.78 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.001758/0.04537, allocations: 1.651 MB / 264.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.0454, allocations: 8.031 kB / 264.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005164/0.04592, allocations: 317.8 kB / 264.8 MB, free: 9.758 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007582/0.04668, allocations: 0.5495 MB / 265.3 MB, free: 9.176 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.841e-05/0.04671, allocations: 74 kB / 265.4 MB, free: 9.105 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.389e-05/0.0468, allocations: 96 kB / 265.5 MB, free: 9.012 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006659/0.04746, allocations: 0.777 MB / 266.3 MB, free: 8.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.04749, allocations: 11.95 kB / 266.3 MB, free: 8.168 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.591e-05/0.04753, allocations: 44 kB / 266.3 MB, free: 8.125 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.04755, allocations: 27.98 kB / 266.4 MB, free: 8.098 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003022/0.04785, allocations: 249.7 kB / 266.6 MB, free: 7.855 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002758/0.05061, allocations: 2.961 MB / 269.6 MB, free: 4.699 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.0509, allocations: 235 kB / 269.8 MB, free: 4.461 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.05111, allocations: 173.4 kB / 270 MB, free: 4.289 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.05114, allocations: 8 kB / 270 MB, free: 4.281 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.05116, allocations: 38.55 kB / 270 MB, free: 4.234 MB / 266.7 MB Notification: Performance of pre-optimization done (n=41): time 1.894e-06/0.05116, allocations: 0 / 270 MB, free: 4.234 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.001192/0.05236, allocations: 0.8034 MB / 270.8 MB, free: 3.398 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.05239, allocations: 67.34 kB / 270.9 MB, free: 3.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004593/0.05284, allocations: 0.6691 MB / 271.6 MB, free: 2.641 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.05287, allocations: 33.7 kB / 271.6 MB, free: 2.602 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.05307, allocations: 0.505 MB / 272.1 MB, free: 2.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.545e-05/0.05315, allocations: 166.6 kB / 272.3 MB, free: 1.926 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.05326, allocations: 138.5 kB / 272.4 MB, free: 1.781 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.05337, allocations: 394.5 kB / 272.8 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.051e-05/0.05344, allocations: 61.97 kB / 272.8 MB, free: 1.328 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.05365, allocations: 385.3 kB / 273.2 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.05404, allocations: 0.5237 MB / 273.7 MB, free: 160 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.05404, allocations: 4 kB / 273.7 MB, free: 156 kB / 266.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0005226/0.05457, allocations: 498.5 kB / 274.2 MB, free: 15.65 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.05459, allocations: 8 kB / 274.2 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.0546, allocations: 8 kB / 274.2 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001592/0.05476, allocations: 77.94 kB / 274.3 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003121/0.05507, allocations: 171.7 kB / 274.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.05636, allocations: 2.593 MB / 277.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002697/0.05663, allocations: 35.98 kB / 277.1 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.05665, allocations: 24 kB / 277.1 MB, free: 12.56 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 (85): * 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: 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.0001609/0.05681, allocations: 165.6 kB / 277.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.264e-05/0.05687, allocations: 67.92 kB / 277.4 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003141/0.05719, allocations: 302.5 kB / 277.7 MB, free: 12.01 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.05719, allocations: 8.094 kB / 277.7 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.0572, allocations: 3.984 kB / 277.7 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.0572, allocations: 7.984 kB / 277.7 MB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008704/0.05807, allocations: 0.7712 MB / 278.5 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.05808, allocations: 3.938 kB / 278.5 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.05824, allocations: 80.12 kB / 278.5 MB, free: 11.08 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.05836, allocations: 79.42 kB / 278.6 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001142/0.05848, allocations: 53.67 kB / 278.7 MB, free: 10.95 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.05849, allocations: 12 kB / 278.7 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001205/0.0597, allocations: 2.592 MB / 281.3 MB, free: 8.168 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.0597, allocations: 7.938 kB / 281.3 MB, free: 8.16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004079/0.06011, allocations: 487.1 kB / 281.8 MB, free: 7.641 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.345e-05/0.06016, allocations: 12 kB / 281.8 MB, free: 7.629 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.06034, allocations: 28.02 kB / 281.8 MB, free: 7.602 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/0.0604, allocations: 47.75 kB / 281.8 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.06041, allocations: 8 kB / 281.8 MB, free: 7.547 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002498/0.06066, allocations: 327.3 kB / 282.2 MB, free: 7.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.06066, allocations: 0 / 282.2 MB, free: 7.23 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005265/0.06119, allocations: 208 kB / 282.4 MB, free: 7.027 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 (39): * Single equations (assignments): 37 * 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.0001911/0.06138, allocations: 108.3 kB / 282.5 MB, free: 6.914 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005206/0.0619, allocations: 0.5478 MB / 283 MB, free: 6.344 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.908e-05/0.06193, allocations: 16.5 kB / 283 MB, free: 6.328 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00033/0.06226, allocations: 383.6 kB / 283.4 MB, free: 5.926 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.06334, allocations: 2.067 MB / 285.5 MB, free: 3.453 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009408/0.07275, allocations: 1.757 MB / 287.2 MB, free: 1.629 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001657/0.07292, allocations: 187.5 kB / 287.4 MB, free: 1.426 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003061/0.07322, allocations: 98.77 kB / 287.5 MB, free: 1.324 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002997/0.07352, allocations: 241.2 kB / 287.8 MB, free: 1.09 MB / 282.7 MB Notification: Performance of SimCode: time 1.162e-06/0.07352, allocations: 0 / 287.8 MB, free: 1.09 MB / 282.7 MB Notification: Performance of Templates: time 0.128/0.2015, allocations: 11.33 MB / 299.1 MB, free: 26.41 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0179100558161736]