Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.001324/0.001324, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0009889/0.0009889, allocations: 159.6 kB / 25.45 MB, free: 9.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9138/0.9138, allocations: 158.6 MB / 187.2 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 299.7 MB, free: 6.906 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.369e-05/3.558e-05, allocations: 2.281 kB / 299.7 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.003119/0.003155, allocations: 2.731 MB / 302.4 MB, free: 4.148 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.004441, allocations: 0.702 MB / 303.1 MB, free: 3.438 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001884/0.004629, allocations: 11.88 kB / 303.1 MB, free: 3.426 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.004779, allocations: 51.5 kB / 303.2 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.004941, allocations: 111 kB / 303.3 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.005229, allocations: 91.86 kB / 303.4 MB, free: 3.176 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000388/0.005617, allocations: 429.9 kB / 303.8 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.005802, allocations: 75.62 kB / 303.9 MB, free: 2.684 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002815/0.006084, allocations: 227.5 kB / 304.1 MB, free: 2.461 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.006209, allocations: 119.7 kB / 304.2 MB, free: 2.344 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.483e-05/0.006254, allocations: 32 kB / 304.3 MB, free: 2.312 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.265e-05/0.006286, allocations: 32 kB / 304.3 MB, free: 2.281 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.893e-05/0.006335, allocations: 79.67 kB / 304.4 MB, free: 2.203 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.394e-05/0.006429, allocations: 123.7 kB / 304.5 MB, free: 2.082 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000333/0.006762, allocations: 394.7 kB / 304.9 MB, free: 1.695 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.006766, allocations: 4 kB / 304.9 MB, free: 1.691 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.006768, allocations: 0 / 304.9 MB, free: 1.691 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.006774, allocations: 0 / 304.9 MB, free: 1.691 MB / 282.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.001031/0.007805, allocations: 0.5676 MB / 305.4 MB, free: 1.094 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.007847, allocations: 11.98 kB / 305.5 MB, free: 1.082 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.769e-05/0.007915, allocations: 44.64 kB / 305.5 MB, free: 1.039 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.008266, allocations: 225.1 kB / 305.7 MB, free: 0.793 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.008284, allocations: 21.03 kB / 305.7 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.008311, allocations: 24.38 kB / 305.8 MB, free: 0.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004328/0.008744, allocations: 420.8 kB / 306.2 MB, free: 304 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.008754, allocations: 192 / 306.2 MB, free: 304 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.008776, allocations: 12.38 kB / 306.2 MB, free: 292 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.008785, allocations: 7.938 kB / 306.2 MB, free: 284 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002856/0.00907, allocations: 214.5 kB / 306.4 MB, free: 68 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.01013, allocations: 0.8102 MB / 307.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/0.0105, allocations: 202.6 kB / 307.4 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.01063, allocations: 100.8 kB / 307.5 MB, free: 14.9 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.01065, allocations: 8 kB / 307.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.01067, allocations: 34.56 kB / 307.6 MB, free: 14.85 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 2.825e-06/0.01067, allocations: 3.984 kB / 307.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007413/0.01141, allocations: 415.7 kB / 308 MB, free: 14.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.01145, allocations: 55.41 kB / 308 MB, free: 14.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.01162, allocations: 241.7 kB / 308.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.01164, allocations: 29.7 kB / 308.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.031e-05/0.01173, allocations: 192.4 kB / 308.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.01177, allocations: 71.39 kB / 308.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.738e-05/0.01183, allocations: 45.94 kB / 308.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.055e-05/0.01192, allocations: 334.8 kB / 308.9 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.01203, allocations: 80.42 kB / 309 MB, free: 13.35 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.01215, allocations: 107.5 kB / 309.1 MB, free: 13.24 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.01239, allocations: 186.4 kB / 309.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01239, allocations: 0 / 309.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003835/0.01277, allocations: 322.9 kB / 309.6 MB, free: 12.72 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.01279, allocations: 4 kB / 309.6 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.0128, allocations: 4 kB / 309.6 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002133/0.01301, allocations: 77.61 kB / 309.7 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.01312, allocations: 39.91 kB / 309.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002284/0.01541, allocations: 2.768 MB / 312.5 MB, free: 9.617 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.01553, allocations: 31.77 kB / 312.5 MB, free: 9.586 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.01554, allocations: 8 kB / 312.5 MB, free: 9.578 MB / 298.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.0001307/0.01567, allocations: 138.2 kB / 312.7 MB, free: 9.434 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.01571, allocations: 27.86 kB / 312.7 MB, free: 9.406 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.01573, allocations: 30.27 kB / 312.7 MB, free: 9.375 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.01574, allocations: 0 / 312.7 MB, free: 9.375 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.01574, allocations: 7.938 kB / 312.7 MB, free: 9.367 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01575, allocations: 7.875 kB / 312.7 MB, free: 9.359 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006338/0.01638, allocations: 0.5741 MB / 313.3 MB, free: 8.738 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.01639, allocations: 4 kB / 313.3 MB, free: 8.734 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.14e-05/0.01646, allocations: 27.92 kB / 313.3 MB, free: 8.707 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001555/0.01661, allocations: 77.66 kB / 313.4 MB, free: 8.625 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.01663, allocations: 0 / 313.4 MB, free: 8.625 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001654/0.01828, allocations: 2.783 MB / 316.2 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.01828, allocations: 0 / 316.2 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003979/0.01868, allocations: 373.6 kB / 316.6 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.129e-05/0.01871, allocations: 31.8 kB / 316.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.01873, allocations: 0 / 316.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.01885, allocations: 35.97 kB / 316.6 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-05/0.01893, allocations: 23.91 kB / 316.6 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.01894, allocations: 4 kB / 316.7 MB, free: 5.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001168/0.01905, allocations: 177.2 kB / 316.8 MB, free: 4.988 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01905, allocations: 0 / 316.8 MB, free: 4.988 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003222/0.01938, allocations: 95.83 kB / 316.9 MB, free: 4.895 MB / 298.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.0001413/0.01952, allocations: 111.2 kB / 317 MB, free: 4.773 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005397/0.02006, allocations: 429.1 kB / 317.4 MB, free: 4.328 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.02006, allocations: 0 / 317.4 MB, free: 4.328 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002379/0.0203, allocations: 349.1 kB / 317.8 MB, free: 3.961 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.02057, allocations: 52.38 kB / 317.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006991/0.02127, allocations: 0.4976 MB / 318.3 MB, free: 3.383 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.02139, allocations: 163.2 kB / 318.5 MB, free: 3.203 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.662e-05/0.02143, allocations: 16.5 kB / 318.5 MB, free: 3.188 MB / 298.7 MB Notification: Performance of SimCode: time 6.42e-07/0.02143, allocations: 4 kB / 318.5 MB, free: 3.184 MB / 298.7 MB Notification: Performance of Templates: time 0.005684/0.02712, allocations: 5.585 MB / 324.1 MB, free: 13.59 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.578523150645196]