Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.001776/0.001776, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001965/0.001965, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 18.57 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: 173.4 MB / 200.8 MB, free: 9.309 MB / 186.7 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.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.759e-05/2.905e-05, allocations: 6.312 kB / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004441/0.00447, allocations: 2.386 MB / 269.7 MB, free: 4.312 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.005904, allocations: 0.6308 MB / 270.3 MB, free: 3.676 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001577/0.006062, allocations: 4 kB / 270.4 MB, free: 3.672 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.006235, allocations: 35.64 kB / 270.4 MB, free: 3.637 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.00644, allocations: 83.22 kB / 270.5 MB, free: 3.555 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00038/0.00682, allocations: 87.73 kB / 270.6 MB, free: 3.469 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005655/0.007386, allocations: 282.6 kB / 270.8 MB, free: 3.191 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.007574, allocations: 64.47 kB / 270.9 MB, free: 3.125 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003298/0.007903, allocations: 159.7 kB / 271.1 MB, free: 2.969 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.008091, allocations: 87.77 kB / 271.1 MB, free: 2.883 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.523e-05/0.008136, allocations: 24 kB / 271.2 MB, free: 2.859 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.008243, allocations: 35.98 kB / 271.2 MB, free: 2.824 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.528e-05/0.008309, allocations: 51.77 kB / 271.2 MB, free: 2.773 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.008431, allocations: 87.77 kB / 271.3 MB, free: 2.688 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000458/0.008889, allocations: 295 kB / 271.6 MB, free: 2.398 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.008892, allocations: 0 / 271.6 MB, free: 2.398 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.008893, allocations: 0 / 271.6 MB, free: 2.398 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.008903, allocations: 0 / 271.6 MB, free: 2.398 MB / 250.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.0009973/0.0099, allocations: 477.5 kB / 272.1 MB, free: 1.902 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.009942, allocations: 8.922 kB / 272.1 MB, free: 1.895 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.01006, allocations: 40.8 kB / 272.1 MB, free: 1.855 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003743/0.01043, allocations: 181.4 kB / 272.3 MB, free: 1.652 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.01046, allocations: 16.88 kB / 272.3 MB, free: 1.633 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.615e-05/0.01053, allocations: 24.36 kB / 272.4 MB, free: 1.609 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004943/0.01102, allocations: 244 kB / 272.6 MB, free: 1.352 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.01103, allocations: 4.188 kB / 272.6 MB, free: 1.348 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.01107, allocations: 8.375 kB / 272.6 MB, free: 1.34 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.01108, allocations: 11.94 kB / 272.6 MB, free: 1.328 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003537/0.01143, allocations: 145.9 kB / 272.8 MB, free: 1.188 MB / 250.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.001457/0.01289, allocations: 0.6336 MB / 273.4 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.01324, allocations: 138.5 kB / 273.5 MB, free: 372 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/0.01348, allocations: 88.91 kB / 273.6 MB, free: 280 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.0135, allocations: 4 kB / 273.6 MB, free: 276 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.01354, allocations: 34.56 kB / 273.6 MB, free: 232 kB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.362e-06/0.01354, allocations: 0 / 273.6 MB, free: 232 kB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.001427/0.01497, allocations: 353 kB / 274 MB, free: 15.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.01501, allocations: 51.41 kB / 274 MB, free: 15.81 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.01522, allocations: 174.4 kB / 274.2 MB, free: 15.63 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002315/0.01545, allocations: 29.7 kB / 274.2 MB, free: 15.6 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.01557, allocations: 152.3 kB / 274.4 MB, free: 15.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.213e-05/0.01565, allocations: 63.42 kB / 274.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.138e-05/0.01573, allocations: 41.64 kB / 274.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.01592, allocations: 322.8 kB / 274.8 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.01605, allocations: 51.97 kB / 274.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.0162, allocations: 81 kB / 274.9 MB, free: 14.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/0.01647, allocations: 121.7 kB / 275.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01647, allocations: 0 / 275.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000501/0.01697, allocations: 226.3 kB / 275.3 MB, free: 14.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.01699, allocations: 4 kB / 275.3 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.01699, allocations: 0 / 275.3 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001505/0.0185, allocations: 224.6 kB / 275.5 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.01867, allocations: 31.97 kB / 275.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006598/0.01933, allocations: 0.607 MB / 276.1 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.01947, allocations: 15.92 kB / 276.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.01949, allocations: 7.938 kB / 276.2 MB, free: 13.61 MB / 266.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 0.0001752/0.01966, allocations: 129.8 kB / 276.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.147e-05/0.01972, allocations: 27.95 kB / 276.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005437/0.02027, allocations: 231.2 kB / 276.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.02027, allocations: 0 / 276.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.02028, allocations: 3.984 kB / 276.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.02028, allocations: 0 / 276.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.0213, allocations: 0.5035 MB / 277.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.0213, allocations: 0 / 277.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.02148, allocations: 36 kB / 277.1 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001185/0.02266, allocations: 200.6 kB / 277.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.02268, allocations: 3.984 kB / 277.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006108/0.02329, allocations: 0.6342 MB / 277.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.02329, allocations: 0 / 277.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009834/0.02428, allocations: 425 kB / 278.3 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.43e-05/0.02432, allocations: 23.83 kB / 278.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.02435, allocations: 4 kB / 278.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.02452, allocations: 7.984 kB / 278.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.152e-05/0.02458, allocations: 19.91 kB / 278.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.02459, allocations: 11.88 kB / 278.4 MB, free: 11.26 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001411/0.02474, allocations: 132.3 kB / 278.5 MB, free: 11.13 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02474, allocations: 0 / 278.5 MB, free: 11.13 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000351/0.02509, allocations: 59.95 kB / 278.6 MB, free: 11.07 MB / 266.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.0002045/0.02529, allocations: 111.2 kB / 278.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004546/0.02575, allocations: 133 kB / 278.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.02575, allocations: 0 / 278.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.02597, allocations: 88.97 kB / 278.9 MB, free: 10.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.02635, allocations: 33.69 kB / 278.9 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.02751, allocations: 495 kB / 279.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/0.02771, allocations: 130.1 kB / 279.6 MB, free: 10.04 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.402e-05/0.02779, allocations: 9.484 kB / 279.6 MB, free: 10.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.614e-05/0.02785, allocations: 16.5 kB / 279.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02785, allocations: 4 kB / 279.6 MB, free: 10.01 MB / 266.7 MB Notification: Performance of Templates: time 0.009629/0.03748, allocations: 2.24 MB / 281.8 MB, free: 7.805 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.499889457016252]