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.001485/0.001485, allocations: 92.27 kB / 20.96 MB, free: 3.441 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.001561/0.001561, allocations: 156.9 kB / 24.26 MB, free: 148 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 1.481/1.481, allocations: 177 MB / 204.5 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.505e-06/2.505e-06, allocations: 0 / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/3.15e-05, allocations: 2.312 kB / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.007872/0.007904, allocations: 2.794 MB / 275 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002575/0.01048, allocations: 0.7244 MB / 275.7 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003182/0.0108, allocations: 8 kB / 275.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.01112, allocations: 59.38 kB / 275.8 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004468/0.01157, allocations: 107 kB / 275.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005557/0.01212, allocations: 107.8 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009393/0.01306, allocations: 429.9 kB / 276.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003001/0.01336, allocations: 71.62 kB / 276.5 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006413/0.014, allocations: 235.5 kB / 276.7 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003527/0.01435, allocations: 123.7 kB / 276.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.01446, allocations: 36 kB / 276.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.01461, allocations: 32 kB / 276.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.01474, allocations: 79.67 kB / 277 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002641/0.01501, allocations: 119.7 kB / 277.1 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009046/0.01591, allocations: 410.6 kB / 277.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.01592, allocations: 0 / 277.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01592, allocations: 0 / 277.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.888e-05/0.01594, allocations: 0 / 277.5 MB, free: 12.46 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.001921/0.01786, allocations: 0.5637 MB / 278.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.078e-05/0.01792, allocations: 15.98 kB / 278.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004032/0.01832, allocations: 68.69 kB / 278.2 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000798/0.01912, allocations: 225.2 kB / 278.4 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.269e-05/0.01916, allocations: 25.03 kB / 278.4 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.692e-05/0.01925, allocations: 28.38 kB / 278.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.02044, allocations: 412.9 kB / 278.8 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.02046, allocations: 4.125 kB / 278.8 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.918e-05/0.02052, allocations: 12.38 kB / 278.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.513e-05/0.02055, allocations: 11.94 kB / 278.9 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009791/0.02152, allocations: 214.5 kB / 279.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002162/0.02369, allocations: 0.8179 MB / 279.9 MB, free: 9.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005384/0.02423, allocations: 202.6 kB / 280.1 MB, free: 9.723 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/0.02447, allocations: 112.7 kB / 280.2 MB, free: 9.609 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.02449, allocations: 4 kB / 280.2 MB, free: 9.605 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.02453, allocations: 34.56 kB / 280.2 MB, free: 9.562 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.664e-06/0.02453, allocations: 0 / 280.2 MB, free: 9.562 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.001307/0.02584, allocations: 419.2 kB / 280.7 MB, free: 9.141 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.02589, allocations: 55.41 kB / 280.7 MB, free: 9.074 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.02619, allocations: 241.7 kB / 280.9 MB, free: 8.828 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/0.02622, allocations: 33.7 kB / 281 MB, free: 8.789 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.02638, allocations: 192.4 kB / 281.2 MB, free: 8.594 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.379e-05/0.02646, allocations: 71.38 kB / 281.2 MB, free: 8.523 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.216e-05/0.02655, allocations: 45.94 kB / 281.3 MB, free: 8.469 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.02673, allocations: 334.8 kB / 281.6 MB, free: 8.133 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.02695, allocations: 80.42 kB / 281.7 MB, free: 8.055 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.02719, allocations: 111.5 kB / 281.8 MB, free: 7.938 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004171/0.02761, allocations: 178.5 kB / 282 MB, free: 7.754 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.02761, allocations: 3.938 kB / 282 MB, free: 7.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007835/0.0284, allocations: 334.8 kB / 282.3 MB, free: 7.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.02842, allocations: 4 kB / 282.3 MB, free: 7.406 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.02842, allocations: 0 / 282.3 MB, free: 7.406 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004889/0.02891, allocations: 105.6 kB / 282.4 MB, free: 7.297 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.02911, allocations: 35.92 kB / 282.4 MB, free: 7.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00321/0.03232, allocations: 2.795 MB / 285.2 MB, free: 4.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.03252, allocations: 23.91 kB / 285.3 MB, free: 4.246 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.03254, allocations: 11.94 kB / 285.3 MB, free: 4.234 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 0.0003618/0.03291, allocations: 138 kB / 285.4 MB, free: 4.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.368e-05/0.03298, allocations: 32.05 kB / 285.4 MB, free: 4.059 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.677e-05/0.03305, allocations: 30.27 kB / 285.5 MB, free: 4.027 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.03305, allocations: 4 kB / 285.5 MB, free: 4.023 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.03306, allocations: 4 kB / 285.5 MB, free: 4.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.03307, allocations: 3.938 kB / 285.5 MB, free: 4.016 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.03421, allocations: 0.5811 MB / 286.1 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.03421, allocations: 0 / 286.1 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.03435, allocations: 23.98 kB / 286.1 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003732/0.03472, allocations: 101.6 kB / 286.2 MB, free: 3.262 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.03475, allocations: 8 kB / 286.2 MB, free: 3.254 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003158/0.0379, allocations: 2.784 MB / 289 MB, free: 268 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.03791, allocations: 3.938 kB / 289 MB, free: 264 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007616/0.03867, allocations: 381.5 kB / 289.3 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.104e-05/0.03872, allocations: 23.8 kB / 289.4 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.223e-05/0.03875, allocations: 7.984 kB / 289.4 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/0.039, allocations: 28.23 kB / 289.4 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.712e-05/0.0391, allocations: 27.89 kB / 289.4 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.03912, allocations: 8 kB / 289.4 MB, free: 15.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002211/0.03934, allocations: 181.2 kB / 289.6 MB, free: 15.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03934, allocations: 0 / 289.6 MB, free: 15.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004441/0.03979, allocations: 91.89 kB / 289.7 MB, free: 15.5 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 0.0001679/0.03995, allocations: 107.2 kB / 289.8 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000897/0.04085, allocations: 435.7 kB / 290.2 MB, free: 14.94 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.04085, allocations: 0 / 290.2 MB, free: 14.94 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005079/0.04136, allocations: 342.1 kB / 290.6 MB, free: 14.58 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.04175, allocations: 40.36 kB / 290.6 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000999/0.04275, allocations: 0.4892 MB / 291.1 MB, free: 14.03 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/0.04294, allocations: 159.5 kB / 291.3 MB, free: 13.85 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.04304, allocations: 17.94 kB / 291.3 MB, free: 13.83 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.834e-05/0.04309, allocations: 20.5 kB / 291.3 MB, free: 13.81 MB / 282.7 MB Notification: Performance of SimCode: time 8.11e-07/0.0431, allocations: 8 kB / 291.3 MB, free: 13.8 MB / 282.7 MB Notification: Performance of Templates: time 0.008867/0.05196, allocations: 3.567 MB / 294.9 MB, free: 10.29 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.34337569703348]