Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.001041/0.001041, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.0009372/0.0009372, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.9756/0.9756, allocations: 177 MB / 204.8 MB, free: 5.602 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.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor") translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.192e-05/3.413e-05, allocations: 2.312 kB / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.00314/0.003174, allocations: 3.041 MB / 276 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.004254, allocations: 0.7477 MB / 276.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.004385, allocations: 8 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.004533, allocations: 55.44 kB / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.004677, allocations: 107 kB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.004972, allocations: 107.8 kB / 277 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003159/0.005287, allocations: 425.9 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.005445, allocations: 75.62 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002745/0.00572, allocations: 235.5 kB / 277.7 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.005843, allocations: 119.7 kB / 277.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.883e-05/0.005882, allocations: 32 kB / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.639e-05/0.005949, allocations: 35.98 kB / 277.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.279e-05/0.005991, allocations: 83.67 kB / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.466e-05/0.006076, allocations: 115.8 kB / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.006346, allocations: 278.9 kB / 278.3 MB, free: 12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.696e-06/0.006349, allocations: 4 kB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.00635, allocations: 0 / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.006355, allocations: 0 / 278.4 MB, free: 12 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0006365/0.006992, allocations: 0.6597 MB / 279 MB, free: 11.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.007028, allocations: 19.98 kB / 279 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.007178, allocations: 68.69 kB / 279.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.007436, allocations: 224 kB / 279.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.007454, allocations: 21.03 kB / 279.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.007485, allocations: 32.31 kB / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.007806, allocations: 357.6 kB / 279.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.007819, allocations: 4.172 kB / 279.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.007838, allocations: 12.38 kB / 279.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.007848, allocations: 11.94 kB / 279.7 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.008004, allocations: 99.88 kB / 279.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009361/0.00894, allocations: 0.8406 MB / 280.7 MB, free: 9.496 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002708/0.009211, allocations: 183.1 kB / 280.9 MB, free: 9.305 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.133e-05/0.009292, allocations: 63.66 kB / 280.9 MB, free: 9.238 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.009314, allocations: 4 kB / 280.9 MB, free: 9.234 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.00934, allocations: 37.39 kB / 281 MB, free: 9.188 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.533e-06/0.009342, allocations: 0 / 281 MB, free: 9.188 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005776/0.009919, allocations: 316.9 kB / 281.3 MB, free: 8.863 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.009943, allocations: 55.41 kB / 281.3 MB, free: 8.797 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.01011, allocations: 288.3 kB / 281.6 MB, free: 8.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.01012, allocations: 33.7 kB / 281.6 MB, free: 8.461 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.426e-05/0.01022, allocations: 235.2 kB / 281.9 MB, free: 8.227 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.01026, allocations: 71.39 kB / 281.9 MB, free: 8.156 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.546e-05/0.01032, allocations: 51.59 kB / 282 MB, free: 8.094 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.01042, allocations: 0.5039 MB / 282.5 MB, free: 7.578 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.477e-05/0.01048, allocations: 36.39 kB / 282.5 MB, free: 7.543 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.377e-05/0.01055, allocations: 67.97 kB / 282.6 MB, free: 7.465 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.01068, allocations: 114.9 kB / 282.7 MB, free: 7.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.01068, allocations: 4 kB / 282.7 MB, free: 7.336 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002787/0.01096, allocations: 244.6 kB / 283 MB, free: 7.082 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.01098, allocations: 4 kB / 283 MB, free: 7.078 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.01098, allocations: 0 / 283 MB, free: 7.078 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002698/0.01125, allocations: 99.31 kB / 283.1 MB, free: 6.973 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.299e-05/0.01134, allocations: 39.91 kB / 283.1 MB, free: 6.934 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001574/0.01292, allocations: 3.684 MB / 286.8 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.738e-05/0.01299, allocations: 19.88 kB / 286.8 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.01301, allocations: 12 kB / 286.8 MB, free: 2.977 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 (20): * Single equations (assignments): 18 * 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,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.16e-05/0.0131, allocations: 164.6 kB / 287 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/0.01314, allocations: 31.86 kB / 287 MB, free: 2.773 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.233e-05/0.01316, allocations: 30.27 kB / 287 MB, free: 2.742 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.01316, allocations: 4 kB / 287 MB, free: 2.738 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.01317, allocations: 0 / 287 MB, free: 2.738 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.01317, allocations: 11.88 kB / 287 MB, free: 2.727 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000485/0.01366, allocations: 0.5509 MB / 287.6 MB, free: 2.125 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01366, allocations: 0 / 287.6 MB, free: 2.125 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.534e-05/0.01371, allocations: 27.92 kB / 287.6 MB, free: 2.098 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001724/0.01389, allocations: 95.36 kB / 287.7 MB, free: 1.996 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.0139, allocations: 4 kB / 287.7 MB, free: 1.992 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/0.01529, allocations: 3.673 MB / 291.4 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.01529, allocations: 4 kB / 291.4 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.01555, allocations: 371.6 kB / 291.8 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.94e-05/0.01557, allocations: 19.8 kB / 291.8 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.01558, allocations: 8 kB / 291.8 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.01569, allocations: 31.95 kB / 291.8 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.01574, allocations: 27.84 kB / 291.8 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.627e-06/0.01575, allocations: 8 kB / 291.9 MB, free: 13.58 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.619e-05/0.01585, allocations: 201.1 kB / 292.1 MB, free: 13.39 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01585, allocations: 0 / 292.1 MB, free: 13.39 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002441/0.01609, allocations: 95.84 kB / 292.1 MB, free: 13.29 MB / 282.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 (13): * Single equations (assignments): 11 * 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,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.319e-05/0.01618, allocations: 103.2 kB / 292.2 MB, free: 13.18 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003966/0.01658, allocations: 490.1 kB / 292.7 MB, free: 12.67 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01658, allocations: 0 / 292.7 MB, free: 12.67 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.01678, allocations: 428.1 kB / 293.1 MB, free: 12.21 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.01702, allocations: 41.23 kB / 293.2 MB, free: 12.17 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008077/0.01783, allocations: 497.9 kB / 293.7 MB, free: 11.66 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.522e-05/0.01788, allocations: 92.56 kB / 293.8 MB, free: 11.55 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.936e-05/0.01794, allocations: 17.95 kB / 293.8 MB, free: 11.54 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.131e-05/0.01798, allocations: 20.5 kB / 293.8 MB, free: 11.52 MB / 282.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01798, allocations: 0 / 293.8 MB, free: 11.52 MB / 282.7 MB Notification: Performance of Templates: time 0.005266/0.02325, allocations: 3.601 MB / 297.4 MB, free: 7.961 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.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.921844555065036]