Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.397/1.397, allocations: 230.6 MB / 258.3 MB, free: 8.008 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 47.92 kB / 379 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2378, allocations: 53.37 MB / 432.4 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004429/0.2422, allocations: 2.556 MB / 435 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.2438, allocations: 0.7128 MB / 435.7 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002641/0.2441, allocations: 7.938 kB / 435.7 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002228/0.2443, allocations: 35.64 kB / 435.7 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002437/0.2445, allocations: 75.33 kB / 435.8 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004252/0.245, allocations: 99.77 kB / 435.9 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004402/0.2454, allocations: 278.8 kB / 436.2 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.2456, allocations: 61.3 kB / 436.2 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002449/0.2458, allocations: 119.5 kB / 436.3 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.246, allocations: 119.5 kB / 436.4 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.013e-05/0.2461, allocations: 20 kB / 436.5 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.2462, allocations: 39.98 kB / 436.5 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.335e-05/0.2462, allocations: 55.77 kB / 436.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.2464, allocations: 123.5 kB / 436.7 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003914/0.2468, allocations: 288 kB / 437 MB, free: 2.359 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2468, allocations: 0 / 437 MB, free: 2.359 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2468, allocations: 0 / 437 MB, free: 2.359 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.2468, allocations: 0 / 437 MB, free: 2.359 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.0008934/0.2477, allocations: 481.5 kB / 437.4 MB, free: 1.859 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.2477, allocations: 8.031 kB / 437.4 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001881/0.2479, allocations: 40.73 kB / 437.5 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/0.2483, allocations: 194.1 kB / 437.7 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.2483, allocations: 12.81 kB / 437.7 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.293e-05/0.2483, allocations: 24.31 kB / 437.7 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003894/0.2487, allocations: 195.6 kB / 437.9 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.2487, allocations: 4 kB / 437.9 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.2487, allocations: 12 kB / 437.9 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.2488, allocations: 4 kB / 437.9 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003214/0.2491, allocations: 149.7 kB / 438.1 MB, free: 1.199 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.001434/0.2505, allocations: 0.8899 MB / 439 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.2508, allocations: 146.5 kB / 439.1 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.251, allocations: 80.91 kB / 439.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.2511, allocations: 4 kB / 439.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.2511, allocations: 38.56 kB / 439.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.393e-06/0.2511, allocations: 0 / 439.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001216/0.2523, allocations: 334.3 kB / 439.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.2523, allocations: 55.41 kB / 439.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.2525, allocations: 184.3 kB / 439.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.2526, allocations: 29.7 kB / 439.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.2527, allocations: 156.4 kB / 440 MB, free: 15.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.365e-05/0.2527, allocations: 67.34 kB / 440 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.915e-05/0.2528, allocations: 37.7 kB / 440.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.2529, allocations: 330.8 kB / 440.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.253, allocations: 47.97 kB / 440.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.2532, allocations: 69.69 kB / 440.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000244/0.2534, allocations: 128.1 kB / 440.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2534, allocations: 3.938 kB / 440.6 MB, free: 14.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004073/0.2538, allocations: 214.3 kB / 440.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.2538, allocations: 4 kB / 440.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2538, allocations: 4 kB / 440.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001352/0.2552, allocations: 224.5 kB / 441.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.2553, allocations: 31.97 kB / 441.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005253/0.2558, allocations: 0.6109 MB / 441.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.256, allocations: 15.92 kB / 441.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.256, allocations: 8.062 kB / 441.7 MB, free: 13.3 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.0001319/0.2561, allocations: 141.7 kB / 441.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.2562, allocations: 15.91 kB / 441.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004455/0.2566, allocations: 231.1 kB / 442.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.2566, allocations: 0 / 442.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2566, allocations: 0 / 442.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2566, allocations: 0 / 442.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008977/0.2575, allocations: 0.5638 MB / 442.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2575, allocations: 4 kB / 442.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.2577, allocations: 35.91 kB / 442.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001068/0.2587, allocations: 196.6 kB / 442.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.2587, allocations: 15.98 kB / 442.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004858/0.2592, allocations: 0.6226 MB / 443.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2592, allocations: 0 / 443.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008032/0.26, allocations: 414.6 kB / 443.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.911e-05/0.2601, allocations: 31.77 kB / 444 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.2601, allocations: 0 / 444 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.2602, allocations: 15.98 kB / 444 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.2603, allocations: 7.984 kB / 444 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.2603, allocations: 16.05 kB / 444 MB, free: 10.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001443/0.2604, allocations: 129.2 kB / 444.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2604, allocations: 96 / 444.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002996/0.2607, allocations: 59.83 kB / 444.2 MB, free: 10.71 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.0001707/0.2609, allocations: 111.2 kB / 444.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003916/0.2613, allocations: 131.9 kB / 444.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2613, allocations: 4.062 kB / 444.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.2615, allocations: 75.95 kB / 444.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.2618, allocations: 30.67 kB / 444.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.2629, allocations: 0.5927 MB / 445.1 MB, free: 9.727 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.2632, allocations: 0.74 MB / 445.9 MB, free: 8.961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.625e-05/0.2633, allocations: 15.44 kB / 445.9 MB, free: 8.945 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2633, allocations: 0 / 445.9 MB, free: 8.945 MB / 350.1 MB Notification: Performance of Templates: time 0.005335/0.2686, allocations: 3.164 MB / 449.1 MB, free: 5.781 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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: 6.992281340062618]