Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.008759/0.008759, allocations: 109.6 kB / 21.98 MB, free: 5.184 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.002453/0.002453, allocations: 220.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.442/1.442, allocations: 230.6 MB / 259 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier") translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 75.88 kB / 379.8 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2714, allocations: 53.36 MB / 433.2 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004019/0.2755, allocations: 2.573 MB / 435.7 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.2768, allocations: 0.7128 MB / 436.5 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.2769, allocations: 7.938 kB / 436.5 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001601/0.2771, allocations: 35.64 kB / 436.5 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.2772, allocations: 75.28 kB / 436.6 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.2775, allocations: 99.75 kB / 436.7 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003349/0.2779, allocations: 278.8 kB / 436.9 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.2781, allocations: 65.3 kB / 437 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.2783, allocations: 111.6 kB / 437.1 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.2785, allocations: 119.5 kB / 437.2 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.772e-05/0.2785, allocations: 24 kB / 437.3 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.208e-05/0.2786, allocations: 35.98 kB / 437.3 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.898e-05/0.2787, allocations: 47.84 kB / 437.3 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.2788, allocations: 131.4 kB / 437.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003587/0.2792, allocations: 291.9 kB / 437.8 MB, free: 2.375 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.2792, allocations: 0 / 437.8 MB, free: 2.375 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2792, allocations: 0 / 437.8 MB, free: 2.375 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.2792, allocations: 4 kB / 437.8 MB, free: 2.371 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008101/0.28, allocations: 465.5 kB / 438.2 MB, free: 1.887 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.28, allocations: 12.03 kB / 438.2 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.2802, allocations: 36.73 kB / 438.3 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.2806, allocations: 198.1 kB / 438.5 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.2806, allocations: 12.81 kB / 438.5 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.706e-05/0.2806, allocations: 20.38 kB / 438.5 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004237/0.281, allocations: 191.6 kB / 438.7 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.2811, allocations: 3.984 kB / 438.7 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.2811, allocations: 12 kB / 438.7 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.2811, allocations: 4 kB / 438.7 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003293/0.2814, allocations: 153.7 kB / 438.8 MB, free: 1.227 MB / 334.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/0.2828, allocations: 0.8898 MB / 439.7 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/0.2831, allocations: 154.6 kB / 439.9 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.2834, allocations: 80.88 kB / 440 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.2834, allocations: 0 / 440 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.2834, allocations: 38.56 kB / 440 MB, free: 15.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 9.22e-07/0.2834, allocations: 0 / 440 MB, free: 15.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001212/0.2846, allocations: 346.2 kB / 440.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.2847, allocations: 59.34 kB / 440.4 MB, free: 15.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.2849, allocations: 175.6 kB / 440.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.2849, allocations: 33.7 kB / 440.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.285, allocations: 144.4 kB / 440.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.273e-05/0.285, allocations: 67.42 kB / 440.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.911e-05/0.2851, allocations: 41.7 kB / 440.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.2853, allocations: 330.8 kB / 441.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.2854, allocations: 51.97 kB / 441.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.2857, allocations: 65.69 kB / 441.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/0.2859, allocations: 124.5 kB / 441.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2859, allocations: 0 / 441.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004538/0.2864, allocations: 226.3 kB / 441.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.2864, allocations: 4 kB / 441.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2864, allocations: 0 / 441.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001343/0.2877, allocations: 216.5 kB / 441.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.2879, allocations: 35.98 kB / 441.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005388/0.2884, allocations: 0.6109 MB / 442.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.2885, allocations: 15.89 kB / 442.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.2885, allocations: 4 kB / 442.5 MB, free: 13.33 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001362/0.2887, allocations: 135.8 kB / 442.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.2887, allocations: 19.91 kB / 442.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004699/0.2892, allocations: 234.7 kB / 442.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.2892, allocations: 4 kB / 442.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2892, allocations: 0 / 442.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.2892, allocations: 0 / 442.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009508/0.2902, allocations: 0.568 MB / 443.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.2902, allocations: 0 / 443.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.2903, allocations: 35.91 kB / 443.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001035/0.2913, allocations: 200.6 kB / 443.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.2914, allocations: 7.984 kB / 443.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005154/0.2919, allocations: 0.6264 MB / 444.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2919, allocations: 0 / 444.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008347/0.2927, allocations: 421 kB / 444.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.578e-05/0.2928, allocations: 23.77 kB / 444.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.2928, allocations: 4 kB / 444.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.2929, allocations: 11.98 kB / 444.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.293, allocations: 11.98 kB / 444.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.293, allocations: 7.984 kB / 444.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001211/0.2931, allocations: 129.2 kB / 444.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2931, allocations: 0 / 444.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002985/0.2934, allocations: 59.95 kB / 445 MB, free: 10.74 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001666/0.2936, allocations: 111.2 kB / 445.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004227/0.294, allocations: 134.3 kB / 445.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.294, allocations: 0 / 445.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.2942, allocations: 79.95 kB / 445.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.2945, allocations: 40.05 kB / 445.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.2956, allocations: 0.5819 MB / 445.9 MB, free: 9.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.296, allocations: 0.7439 MB / 446.7 MB, free: 8.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.164e-05/0.296, allocations: 15.44 kB / 446.7 MB, free: 8.965 MB / 350.1 MB Notification: Performance of SimCode: time 5e-07/0.296, allocations: 3.938 kB / 446.7 MB, free: 8.961 MB / 350.1 MB Notification: Performance of Templates: time 0.005685/0.3017, allocations: 3.157 MB / 449.8 MB, free: 5.801 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.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: 7.544617768842727]