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.001621/0.001621, allocations: 100 kB / 21.18 MB, free: 0.6484 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.002084/0.002084, allocations: 184.9 kB / 24.45 MB, free: 3.961 MB / 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.459/1.459, allocations: 225.7 MB / 253.3 MB, free: 12.8 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.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 0.00164/0.00164, allocations: 51.92 kB / 371.6 MB, free: 9.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2777, allocations: 52.17 MB / 423.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004348/0.282, allocations: 2.39 MB / 426.2 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.2833, allocations: 0.6155 MB / 426.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.2834, allocations: 4 kB / 426.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.2836, allocations: 35.64 kB / 426.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.2837, allocations: 71.34 kB / 426.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.2841, allocations: 83.77 kB / 427 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003348/0.2844, allocations: 278.8 kB / 427.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.2846, allocations: 72.14 kB / 427.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.2848, allocations: 107.6 kB / 427.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.285, allocations: 107.5 kB / 427.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.935e-05/0.285, allocations: 23.94 kB / 427.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.91e-05/0.2851, allocations: 35.98 kB / 427.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.079e-05/0.2852, allocations: 47.84 kB / 427.7 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.2853, allocations: 99.58 kB / 427.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004079/0.2857, allocations: 293.8 kB / 428.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2857, allocations: 0 / 428.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2857, allocations: 0 / 428.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.2857, allocations: 0 / 428.1 MB, free: 10.18 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.0008825/0.2866, allocations: 477.4 kB / 428.5 MB, free: 9.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.2866, allocations: 8.031 kB / 428.5 MB, free: 9.672 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.572e-05/0.2867, allocations: 28.8 kB / 428.6 MB, free: 9.645 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.287, allocations: 182.1 kB / 428.7 MB, free: 9.441 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.287, allocations: 16.81 kB / 428.8 MB, free: 9.426 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.054e-05/0.2871, allocations: 28.36 kB / 428.8 MB, free: 9.398 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004351/0.2875, allocations: 242.9 kB / 429 MB, free: 9.141 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.2875, allocations: 4 kB / 429 MB, free: 9.137 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.2876, allocations: 15.98 kB / 429 MB, free: 9.121 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.2876, allocations: 4 kB / 429 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003383/0.2879, allocations: 149.7 kB / 429.2 MB, free: 8.969 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.001285/0.2892, allocations: 0.629 MB / 429.8 MB, free: 8.293 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003236/0.2895, allocations: 142.6 kB / 430 MB, free: 8.145 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.2897, allocations: 80.83 kB / 430 MB, free: 8.062 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.2898, allocations: 0 / 430 MB, free: 8.062 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.2898, allocations: 42.55 kB / 430.1 MB, free: 8.012 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.253e-06/0.2898, allocations: 4 kB / 430.1 MB, free: 8.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001264/0.2911, allocations: 337.2 kB / 430.4 MB, free: 7.672 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.2911, allocations: 55.41 kB / 430.5 MB, free: 7.605 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.2913, allocations: 174.4 kB / 430.6 MB, free: 7.426 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.2913, allocations: 33.64 kB / 430.7 MB, free: 7.387 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.2914, allocations: 152.4 kB / 430.8 MB, free: 7.234 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.623e-05/0.2915, allocations: 63.44 kB / 430.9 MB, free: 7.172 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.802e-05/0.2916, allocations: 37.7 kB / 430.9 MB, free: 7.129 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.2917, allocations: 326.8 kB / 431.2 MB, free: 6.801 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.2918, allocations: 55.91 kB / 431.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.292, allocations: 69.69 kB / 431.4 MB, free: 6.672 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/0.2922, allocations: 117.7 kB / 431.5 MB, free: 6.551 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.2922, allocations: 4 kB / 431.5 MB, free: 6.547 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004222/0.2926, allocations: 224.8 kB / 431.7 MB, free: 6.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.2927, allocations: 4 kB / 431.7 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2927, allocations: 4.031 kB / 431.7 MB, free: 6.312 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00135/0.294, allocations: 212.6 kB / 431.9 MB, free: 6.102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.2942, allocations: 39.84 kB / 432 MB, free: 6.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005656/0.2947, allocations: 0.6031 MB / 432.6 MB, free: 5.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.2948, allocations: 15.92 kB / 432.6 MB, free: 5.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.2949, allocations: 8.062 kB / 432.6 MB, free: 5.41 MB / 334.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.0001387/0.295, allocations: 136 kB / 432.7 MB, free: 5.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.24e-05/0.2951, allocations: 19.84 kB / 432.7 MB, free: 5.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004772/0.2955, allocations: 228.2 kB / 433 MB, free: 5.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.2955, allocations: 0 / 433 MB, free: 5.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2955, allocations: 0 / 433 MB, free: 5.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2955, allocations: 3.938 kB / 433 MB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008782/0.2964, allocations: 0.5074 MB / 433.5 MB, free: 4.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2964, allocations: 0 / 433.5 MB, free: 4.465 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.2966, allocations: 31.92 kB / 433.5 MB, free: 4.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001072/0.2976, allocations: 200.6 kB / 433.7 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.2977, allocations: 7.938 kB / 433.7 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005149/0.2982, allocations: 0.6265 MB / 434.3 MB, free: 3.574 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2982, allocations: 4.062 kB / 434.3 MB, free: 3.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008264/0.299, allocations: 428.1 kB / 434.7 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.219e-05/0.299, allocations: 15.84 kB / 434.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.36e-05/0.2991, allocations: 11.94 kB / 434.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.2992, allocations: 7.984 kB / 434.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.2993, allocations: 11.98 kB / 434.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.2993, allocations: 8.062 kB / 434.8 MB, free: 3.078 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.2994, allocations: 136.3 kB / 434.9 MB, free: 2.945 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2994, allocations: 0 / 434.9 MB, free: 2.945 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003204/0.2997, allocations: 59.84 kB / 435 MB, free: 2.887 MB / 334.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.0001858/0.2999, allocations: 115.1 kB / 435.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004172/0.3003, allocations: 135.9 kB / 435.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3003, allocations: 0 / 435.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.3005, allocations: 80.02 kB / 435.3 MB, free: 2.551 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.3008, allocations: 20 kB / 435.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.3019, allocations: 0.5898 MB / 435.9 MB, free: 1.902 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/0.3021, allocations: 134 kB / 436.1 MB, free: 1.754 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.159e-05/0.3021, allocations: 15.44 kB / 436.1 MB, free: 1.738 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3021, allocations: 0 / 436.1 MB, free: 1.738 MB / 334.1 MB Notification: Performance of Templates: time 0.005678/0.3078, allocations: 3.188 MB / 439.3 MB, free: 14.55 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins1/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: 7.068748085293919]