Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0006589/0.0006589, allocations: 88.28 kB / 21.43 MB, free: 3.133 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.003029/0.003029, allocations: 158 kB / 24.7 MB, free: 9.418 MB / 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 0.8275/0.8275, allocations: 177 MB / 204.9 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.605e-05/1.738e-05, allocations: 3.266 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002187/0.002205, allocations: 2.413 MB / 328.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007975/0.003002, allocations: 0.6699 MB / 328.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.839e-05/0.003091, allocations: 4 kB / 328.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.003198, allocations: 39.64 kB / 328.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.031e-05/0.003288, allocations: 71.28 kB / 329 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.00354, allocations: 99.67 kB / 329.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002085/0.003748, allocations: 302.4 kB / 329.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.003874, allocations: 60.55 kB / 329.4 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.004064, allocations: 163.6 kB / 329.6 MB, free: 11.53 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.004168, allocations: 83.77 kB / 329.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.01e-05/0.004198, allocations: 24 kB / 329.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.781e-05/0.004266, allocations: 43.92 kB / 329.7 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.027e-05/0.004296, allocations: 51.75 kB / 329.8 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.894e-05/0.004355, allocations: 87.83 kB / 329.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.004594, allocations: 295.1 kB / 330.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.004596, allocations: 0 / 330.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004597, allocations: 0 / 330.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.004601, allocations: 4 kB / 330.2 MB, free: 10.95 MB / 298.7 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.0005029/0.005104, allocations: 473.5 kB / 330.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.005134, allocations: 11.98 kB / 330.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.005238, allocations: 40.73 kB / 330.7 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.005433, allocations: 185.4 kB / 330.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.005447, allocations: 16.81 kB / 330.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.005474, allocations: 20.38 kB / 330.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.005712, allocations: 244 kB / 331.1 MB, free: 9.914 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.005722, allocations: 192 / 331.1 MB, free: 9.914 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.005738, allocations: 8.375 kB / 331.1 MB, free: 9.906 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.005744, allocations: 11.94 kB / 331.2 MB, free: 9.895 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001901/0.005934, allocations: 149.9 kB / 331.3 MB, free: 9.75 MB / 298.7 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.0007786/0.006713, allocations: 0.6257 MB / 331.9 MB, free: 9.074 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.006921, allocations: 149.4 kB / 332.1 MB, free: 8.922 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.007048, allocations: 88.83 kB / 332.2 MB, free: 8.832 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.007064, allocations: 0 / 332.2 MB, free: 8.832 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.007082, allocations: 42.88 kB / 332.2 MB, free: 8.781 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 9.52e-07/0.007083, allocations: 0 / 332.2 MB, free: 8.781 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009018/0.007985, allocations: 337.3 kB / 332.5 MB, free: 8.445 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.00801, allocations: 55.34 kB / 332.6 MB, free: 8.379 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.008119, allocations: 178.8 kB / 332.8 MB, free: 8.191 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.008134, allocations: 33.7 kB / 332.8 MB, free: 8.152 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.403e-05/0.008198, allocations: 144.4 kB / 332.9 MB, free: 8.008 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.008229, allocations: 63.44 kB / 333 MB, free: 7.945 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.386e-05/0.008273, allocations: 41.7 kB / 333 MB, free: 7.898 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.17e-05/0.008345, allocations: 326.8 kB / 333.4 MB, free: 7.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.82e-05/0.008413, allocations: 59.86 kB / 333.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.549e-05/0.008488, allocations: 73.62 kB / 333.5 MB, free: 7.434 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.008632, allocations: 125.6 kB / 333.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.008634, allocations: 0 / 333.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002329/0.008866, allocations: 217.6 kB / 333.8 MB, free: 7.086 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.008878, allocations: 8.031 kB / 333.8 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.008883, allocations: 4 kB / 333.8 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006223/0.009505, allocations: 216.6 kB / 334 MB, free: 6.859 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.494e-05/0.00958, allocations: 35.92 kB / 334.1 MB, free: 6.824 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003391/0.009919, allocations: 0.6109 MB / 334.7 MB, free: 6.188 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.534e-05/0.009974, allocations: 19.97 kB / 334.7 MB, free: 6.168 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.009984, allocations: 8 kB / 334.7 MB, free: 6.16 MB / 298.7 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 9.524e-05/0.01008, allocations: 134.8 kB / 334.9 MB, free: 6.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.0101, allocations: 15.91 kB / 334.9 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002806/0.01038, allocations: 220.2 kB / 335.1 MB, free: 5.781 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.01039, allocations: 3.984 kB / 335.1 MB, free: 5.777 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.01039, allocations: 0 / 335.1 MB, free: 5.777 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.01039, allocations: 4 kB / 335.1 MB, free: 5.773 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004882/0.01088, allocations: 0.5073 MB / 335.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01088, allocations: 0 / 335.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.772e-05/0.01096, allocations: 23.98 kB / 335.6 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004862/0.01145, allocations: 200.6 kB / 335.8 MB, free: 5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.01146, allocations: 8 kB / 335.8 MB, free: 4.992 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003216/0.01179, allocations: 0.6303 MB / 336.5 MB, free: 4.336 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.01179, allocations: 0 / 336.5 MB, free: 4.336 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004377/0.01222, allocations: 416.9 kB / 336.9 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.735e-05/0.01224, allocations: 15.92 kB / 336.9 MB, free: 3.891 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.01226, allocations: 4 kB / 336.9 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.499e-05/0.01232, allocations: 12.12 kB / 336.9 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.01235, allocations: 19.91 kB / 336.9 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.01236, allocations: 8 kB / 336.9 MB, free: 3.848 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.511e-05/0.01243, allocations: 131.2 kB / 337 MB, free: 3.719 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01243, allocations: 4 kB / 337.1 MB, free: 3.715 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001921/0.01262, allocations: 67.7 kB / 337.1 MB, free: 3.648 MB / 298.7 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.0001134/0.01273, allocations: 103.2 kB / 337.2 MB, free: 3.539 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002572/0.01299, allocations: 143 kB / 337.4 MB, free: 3.402 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01299, allocations: 4.062 kB / 337.4 MB, free: 3.398 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.535e-05/0.01309, allocations: 79.91 kB / 337.4 MB, free: 3.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.0133, allocations: 30.84 kB / 337.5 MB, free: 3.293 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006289/0.01392, allocations: 0.5195 MB / 338 MB, free: 2.738 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.893e-05/0.01401, allocations: 133.9 kB / 338.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.804e-05/0.01404, allocations: 16.5 kB / 338.1 MB, free: 2.57 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01404, allocations: 4 kB / 338.1 MB, free: 2.566 MB / 298.7 MB Notification: Performance of Templates: time 0.003359/0.0174, allocations: 3.225 MB / 341.4 MB, free: 15.33 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.10946637019515]