Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002109/0.002109, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 51.92 kB / 368.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2657, allocations: 52.14 MB / 420.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004351/0.2701, allocations: 3.028 MB / 423.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.2713, allocations: 0.6816 MB / 424.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.2714, allocations: 11.94 kB / 424.6 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.2716, allocations: 55.42 kB / 424.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.2718, allocations: 95.12 kB / 424.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.272, allocations: 99.8 kB / 424.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004501/0.2725, allocations: 414.2 kB / 425.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.2727, allocations: 75.11 kB / 425.3 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002206/0.2729, allocations: 147.5 kB / 425.5 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00021/0.2731, allocations: 167.2 kB / 425.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.171e-05/0.2732, allocations: 32 kB / 425.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.443e-05/0.2732, allocations: 32 kB / 425.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.467e-05/0.2733, allocations: 71.7 kB / 425.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.2735, allocations: 179.2 kB / 425.9 MB, free: 9.965 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000447/0.2739, allocations: 387.7 kB / 426.3 MB, free: 9.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.2739, allocations: 0 / 426.3 MB, free: 9.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2739, allocations: 0 / 426.3 MB, free: 9.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.2739, allocations: 0 / 426.3 MB, free: 9.59 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.001033/0.275, allocations: 0.6466 MB / 427 MB, free: 8.891 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.275, allocations: 11.89 kB / 427 MB, free: 8.879 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.315e-05/0.2751, allocations: 44.7 kB / 427 MB, free: 8.836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/0.2755, allocations: 279.7 kB / 427.3 MB, free: 8.523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.2755, allocations: 20.94 kB / 427.3 MB, free: 8.504 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.042e-05/0.2755, allocations: 28.36 kB / 427.3 MB, free: 8.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005709/0.2761, allocations: 265.2 kB / 427.6 MB, free: 8.215 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.2761, allocations: 3.984 kB / 427.6 MB, free: 8.211 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.355e-05/0.2762, allocations: 12 kB / 427.6 MB, free: 8.199 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.2762, allocations: 4 kB / 427.6 MB, free: 8.195 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004971/0.2767, allocations: 218.1 kB / 427.8 MB, free: 7.984 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/0.2784, allocations: 0.9642 MB / 428.8 MB, free: 6.949 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005496/0.2789, allocations: 287.7 kB / 429.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.2791, allocations: 96.81 kB / 429.2 MB, free: 6.543 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.2792, allocations: 4 kB / 429.2 MB, free: 6.539 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.2792, allocations: 30.56 kB / 429.2 MB, free: 6.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.2792, allocations: 0 / 429.2 MB, free: 6.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001363/0.2806, allocations: 0.5629 MB / 429.8 MB, free: 5.891 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.2806, allocations: 55.41 kB / 429.8 MB, free: 5.824 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002933/0.2809, allocations: 258.6 kB / 430.1 MB, free: 5.566 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.2809, allocations: 33.7 kB / 430.1 MB, free: 5.527 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.2811, allocations: 192.1 kB / 430.3 MB, free: 5.336 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.073e-05/0.2811, allocations: 75.36 kB / 430.4 MB, free: 5.262 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.612e-05/0.2812, allocations: 49.94 kB / 430.4 MB, free: 5.203 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.2814, allocations: 334.8 kB / 430.7 MB, free: 4.867 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.2816, allocations: 72.44 kB / 430.8 MB, free: 4.797 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/0.2818, allocations: 108.9 kB / 430.9 MB, free: 4.684 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003914/0.2822, allocations: 186.4 kB / 431.1 MB, free: 4.492 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2822, allocations: 4 kB / 431.1 MB, free: 4.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006633/0.2829, allocations: 322.8 kB / 431.4 MB, free: 4.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.2829, allocations: 4 kB / 431.4 MB, free: 4.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.2829, allocations: 3.938 kB / 431.4 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002895/0.2832, allocations: 77.72 kB / 431.5 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.2834, allocations: 35.92 kB / 431.5 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002847/0.2862, allocations: 3.052 MB / 434.6 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.2864, allocations: 27.8 kB / 434.6 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.2864, allocations: 12 kB / 434.6 MB, free: 0.6641 MB / 334.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.0001737/0.2866, allocations: 141.8 kB / 434.8 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.659e-05/0.2866, allocations: 27.8 kB / 434.8 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.244e-05/0.2867, allocations: 34.17 kB / 434.8 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.2867, allocations: 0 / 434.8 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.2867, allocations: 4.188 kB / 434.8 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.2867, allocations: 4 kB / 434.8 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.2879, allocations: 0.6835 MB / 435.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2879, allocations: 0 / 435.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.288, allocations: 27.92 kB / 435.6 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002014/0.2882, allocations: 73.66 kB / 435.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.2882, allocations: 12 kB / 435.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002568/0.2908, allocations: 3.036 MB / 438.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2908, allocations: 0 / 438.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006616/0.2915, allocations: 382.2 kB / 439 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.347e-05/0.2916, allocations: 104.9 kB / 439.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/0.2916, allocations: 0 / 439.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.2918, allocations: 31.97 kB / 439.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.95e-05/0.2919, allocations: 19.97 kB / 439.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.2919, allocations: 4 kB / 439.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002006/0.2921, allocations: 198 kB / 439.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2921, allocations: 0 / 439.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004045/0.2925, allocations: 91.89 kB / 439.5 MB, free: 11.4 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.000164/0.2927, allocations: 111.9 kB / 439.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008129/0.2935, allocations: 434.4 kB / 440 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2935, allocations: 0 / 440 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00044/0.294, allocations: 341.2 kB / 440.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.2944, allocations: 52.73 kB / 440.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008848/0.2952, allocations: 0.5077 MB / 440.9 MB, free: 9.898 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.2956, allocations: 0.7639 MB / 441.7 MB, free: 9.109 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.2957, allocations: 26.28 kB / 441.7 MB, free: 9.078 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.324e-05/0.2958, allocations: 15.44 kB / 441.7 MB, free: 9.062 MB / 350.1 MB Notification: Performance of SimCode: time 7.61e-07/0.2958, allocations: 4 kB / 441.7 MB, free: 9.059 MB / 350.1 MB Notification: Performance of Templates: time 0.008377/0.3042, allocations: 3.849 MB / 445.6 MB, free: 5.238 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.536273567005992]