Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.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.001277/0.001277, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001128/0.001128, allocations: 170 kB / 24.82 MB, free: 9.273 MB / 18.57 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 1.009/1.009, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.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.Analog.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor") translateModel(Modelica.Electrical.Analog.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 273.4 MB, free: 1.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.008e-05/3.236e-05, allocations: 6.25 kB / 273.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.00265/0.002683, allocations: 2.188 MB / 275.6 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007405/0.003423, allocations: 0.6075 MB / 276.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.162e-05/0.003505, allocations: 3.938 kB / 276.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001223/0.003627, allocations: 23.78 kB / 276.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.452e-05/0.003692, allocations: 47.56 kB / 276.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.003879, allocations: 51.86 kB / 276.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.004025, allocations: 167.2 kB / 276.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.004132, allocations: 37.66 kB / 276.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.004281, allocations: 103.7 kB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.528e-05/0.004356, allocations: 51.83 kB / 276.7 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.004375, allocations: 12 kB / 276.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.161e-05/0.004427, allocations: 16 kB / 276.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.161e-05/0.004449, allocations: 35.84 kB / 276.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.004486, allocations: 51.89 kB / 276.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.004639, allocations: 111.6 kB / 276.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.004641, allocations: 0 / 276.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.004641, allocations: 4 kB / 276.9 MB, free: 13.76 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.045e-06/0.004645, allocations: 0 / 276.9 MB, free: 13.76 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0003784/0.005023, allocations: 472.2 kB / 277.4 MB, free: 13.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.005055, allocations: 8.031 kB / 277.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.005176, allocations: 36.77 kB / 277.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.005305, allocations: 160.4 kB / 277.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.005316, allocations: 8.609 kB / 277.6 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.005328, allocations: 12.38 kB / 277.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.005453, allocations: 130.4 kB / 277.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-06/0.005458, allocations: 192 / 277.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.005468, allocations: 4.375 kB / 277.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.005477, allocations: 7.938 kB / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.196e-05/0.005519, allocations: 28.67 kB / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.005938, allocations: 471.2 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.006068, allocations: 63.06 kB / 278.3 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.36e-05/0.006091, allocations: 23.8 kB / 278.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.006103, allocations: 4 kB / 278.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.006119, allocations: 33.39 kB / 278.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 8.42e-07/0.00612, allocations: 0 / 278.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002919/0.006412, allocations: 145.1 kB / 278.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.031e-05/0.006432, allocations: 55.41 kB / 278.5 MB, free: 11.97 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.155e-05/0.006524, allocations: 204.8 kB / 278.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.006535, allocations: 25.7 kB / 278.8 MB, free: 11.72 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.884e-05/0.006594, allocations: 170.9 kB / 278.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.227e-05/0.006606, allocations: 27.77 kB / 278.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.006637, allocations: 27.38 kB / 279 MB, free: 11.49 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.006769, allocations: 0.4961 MB / 279.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.506e-05/0.006784, allocations: 7.938 kB / 279.5 MB, free: 10.97 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.184e-05/0.006816, allocations: 39.03 kB / 279.5 MB, free: 10.92 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.634e-05/0.006862, allocations: 55.03 kB / 279.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.006864, allocations: 3.938 kB / 279.6 MB, free: 10.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001212/0.006985, allocations: 105.2 kB / 279.7 MB, free: 10.74 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.006996, allocations: 9.969 kB / 279.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.007, allocations: 0 / 279.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001131/0.007113, allocations: 39.72 kB / 279.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.808e-05/0.007141, allocations: 11.98 kB / 279.7 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000968/0.008109, allocations: 2.056 MB / 281.8 MB, free: 8.512 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.207e-05/0.008141, allocations: 7.938 kB / 281.8 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.008147, allocations: 8.031 kB / 281.8 MB, free: 8.496 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 5.926e-05/0.008206, allocations: 156.6 kB / 282 MB, free: 8.332 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.975e-05/0.008226, allocations: 11.95 kB / 282 MB, free: 8.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.286e-05/0.008238, allocations: 16.77 kB / 282 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.72e-07/0.008239, allocations: 0 / 282 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.01e-07/0.00824, allocations: 4 kB / 282 MB, free: 8.301 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.008243, allocations: 3.938 kB / 282 MB, free: 8.297 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.008348, allocations: 133.1 kB / 282.1 MB, free: 8.141 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.008349, allocations: 0 / 282.1 MB, free: 8.141 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.175e-05/0.008361, allocations: 0 / 282.1 MB, free: 8.141 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.638e-05/0.008437, allocations: 39.66 kB / 282.2 MB, free: 8.098 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-06/0.008442, allocations: 4.062 kB / 282.2 MB, free: 8.094 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007464/0.009188, allocations: 2.044 MB / 284.2 MB, free: 5.934 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.009189, allocations: 0 / 284.2 MB, free: 5.934 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.009324, allocations: 247.4 kB / 284.5 MB, free: 5.668 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.116e-05/0.009335, allocations: 15.88 kB / 284.5 MB, free: 5.652 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.65e-06/0.009341, allocations: 0 / 284.5 MB, free: 5.652 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.82e-05/0.009389, allocations: 4 kB / 284.5 MB, free: 5.648 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.331e-05/0.009412, allocations: 15.92 kB / 284.5 MB, free: 5.633 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.009416, allocations: 0 / 284.5 MB, free: 5.633 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.78e-05/0.009463, allocations: 151.1 kB / 284.6 MB, free: 5.484 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.009463, allocations: 0 / 284.6 MB, free: 5.484 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002103/0.009674, allocations: 39.95 kB / 284.7 MB, free: 5.445 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 6.622e-05/0.00974, allocations: 99.28 kB / 284.8 MB, free: 5.336 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.009934, allocations: 224.5 kB / 285 MB, free: 5.098 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.009935, allocations: 0 / 285 MB, free: 5.098 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.01004, allocations: 217.3 kB / 285.2 MB, free: 4.863 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.01021, allocations: 15.98 kB / 285.2 MB, free: 4.848 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004683/0.01067, allocations: 274.5 kB / 285.5 MB, free: 4.551 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.516e-05/0.01071, allocations: 71.33 kB / 285.6 MB, free: 4.461 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.792e-05/0.01074, allocations: 8.5 kB / 285.6 MB, free: 4.449 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.01079, allocations: 78.19 kB / 285.6 MB, free: 4.371 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01079, allocations: 0 / 285.6 MB, free: 4.371 MB / 266.7 MB Notification: Performance of Templates: time 0.002924/0.01371, allocations: 1.591 MB / 287.2 MB, free: 2.805 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Resistor/Resistor.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: 2.566930492874235]