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.001516/0.001516, allocations: 106.1 kB / 19.8 MB, free: 2.5 MB / 14.72 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.001504/0.001504, allocations: 217.6 kB / 23 MB, free: 5.574 MB / 14.72 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.484/1.484, allocations: 230.2 MB / 256.2 MB, free: 8.539 MB / 206.1 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 0.001909/0.001909, allocations: 63.89 kB / 376.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3104, allocations: 53.32 MB / 429.8 MB, free: 7.582 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.006537/0.317, allocations: 3.061 MB / 432.9 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002509/0.3195, allocations: 0.7518 MB / 433.6 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003725/0.3199, allocations: 4 kB / 433.6 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003348/0.3202, allocations: 59.42 kB / 433.7 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004046/0.3206, allocations: 107 kB / 433.8 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005098/0.3211, allocations: 95.86 kB / 433.9 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007165/0.3218, allocations: 414.1 kB / 434.3 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003008/0.3221, allocations: 79.11 kB / 434.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004122/0.3225, allocations: 155.5 kB / 434.5 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003153/0.3229, allocations: 163.3 kB / 434.7 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.98e-05/0.3229, allocations: 32 kB / 434.7 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.3231, allocations: 47.98 kB / 434.7 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.3232, allocations: 75.64 kB / 434.8 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000266/0.3234, allocations: 171.2 kB / 435 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007227/0.3242, allocations: 391.7 kB / 435.4 MB, free: 1.984 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.81e-06/0.3242, allocations: 4 kB / 435.4 MB, free: 1.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3242, allocations: 0 / 435.4 MB, free: 1.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.3242, allocations: 3.938 kB / 435.4 MB, free: 1.977 MB / 334.1 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.001653/0.3258, allocations: 0.635 MB / 436 MB, free: 1.293 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.744e-05/0.3259, allocations: 12.03 kB / 436 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003127/0.3262, allocations: 48.69 kB / 436.1 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007123/0.3269, allocations: 299.6 kB / 436.4 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/0.327, allocations: 20.94 kB / 436.4 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.603e-05/0.327, allocations: 24.38 kB / 436.4 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000865/0.3279, allocations: 261.2 kB / 436.7 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.3279, allocations: 0 / 436.7 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.966e-05/0.328, allocations: 8 kB / 436.7 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.328, allocations: 12 kB / 436.7 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00081/0.3288, allocations: 218.1 kB / 436.9 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002728/0.3315, allocations: 0.9797 MB / 437.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008364/0.3324, allocations: 279.8 kB / 438.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003515/0.3327, allocations: 92.81 kB / 438.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.172e-05/0.3328, allocations: 7.938 kB / 438.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.039e-05/0.3328, allocations: 34.56 kB / 438.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 3.005e-06/0.3328, allocations: 0 / 438.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.002101/0.3349, allocations: 0.5628 MB / 438.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/0.335, allocations: 55.39 kB / 438.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004376/0.3354, allocations: 258.6 kB / 439.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.3355, allocations: 29.7 kB / 439.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.3356, allocations: 184.2 kB / 439.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.914e-05/0.3357, allocations: 75.34 kB / 439.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.3359, allocations: 41.94 kB / 439.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002173/0.3361, allocations: 342.8 kB / 439.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000309/0.3364, allocations: 76.42 kB / 439.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/0.3368, allocations: 111.4 kB / 440 MB, free: 13.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007134/0.3375, allocations: 186.4 kB / 440.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3375, allocations: 0 / 440.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001095/0.3386, allocations: 322.9 kB / 440.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.3386, allocations: 4 kB / 440.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.3386, allocations: 4 kB / 440.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004872/0.3391, allocations: 81.61 kB / 440.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/0.3394, allocations: 39.91 kB / 440.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003821/0.3432, allocations: 3.048 MB / 443.7 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003331/0.3436, allocations: 31.97 kB / 443.7 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.3436, allocations: 4 kB / 443.7 MB, free: 9.035 MB / 350.1 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.0002663/0.3439, allocations: 141.8 kB / 443.8 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.951e-05/0.344, allocations: 39.73 kB / 443.9 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.947e-05/0.344, allocations: 22.19 kB / 443.9 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.344, allocations: 4 kB / 443.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.344, allocations: 0 / 443.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.3441, allocations: 7.984 kB / 443.9 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.3456, allocations: 0.6758 MB / 444.6 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.884e-06/0.3456, allocations: 3.984 kB / 444.6 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/0.3458, allocations: 31.92 kB / 444.6 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002856/0.3461, allocations: 73.67 kB / 444.7 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.3461, allocations: 4.125 kB / 444.7 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00337/0.3495, allocations: 3.041 MB / 447.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3495, allocations: 0 / 447.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009263/0.3504, allocations: 388.8 kB / 448.1 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.3505, allocations: 100.9 kB / 448.2 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.674e-05/0.3506, allocations: 8 kB / 448.2 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.3509, allocations: 35.97 kB / 448.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.351, allocations: 23.91 kB / 448.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.381e-05/0.3511, allocations: 4 kB / 448.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002883/0.3514, allocations: 189.9 kB / 448.5 MB, free: 3.859 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3514, allocations: 0 / 448.5 MB, free: 3.859 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006689/0.352, allocations: 95.84 kB / 448.6 MB, free: 3.766 MB / 350.1 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.0001988/0.3522, allocations: 107.2 kB / 448.7 MB, free: 3.652 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.3533, allocations: 433.1 kB / 449.1 MB, free: 3.203 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.3533, allocations: 4.125 kB / 449.1 MB, free: 3.199 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000614/0.354, allocations: 333.2 kB / 449.4 MB, free: 2.848 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000649/0.3546, allocations: 60.47 kB / 449.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.356, allocations: 0.5079 MB / 450 MB, free: 2.254 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005449/0.3566, allocations: 0.7678 MB / 450.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001802/0.3568, allocations: 26.28 kB / 450.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.389e-05/0.3568, allocations: 19.38 kB / 450.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3568, allocations: 0 / 450.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of Templates: time 0.01341/0.3703, allocations: 3.858 MB / 454.7 MB, free: 13.59 MB / 366.1 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.663771257735789]