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.00134/0.00134, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001369/0.001369, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.484/1.484, allocations: 225.6 MB / 250.8 MB, free: 13.4 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.001516/0.001516, allocations: 47.92 kB / 368.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2839, allocations: 52.14 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.00434/0.2883, allocations: 2.545 MB / 423.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.2896, allocations: 0.6543 MB / 424.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.2898, allocations: 4 kB / 424.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001726/0.2899, allocations: 39.64 kB / 424.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.2901, allocations: 79.27 kB / 424.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.2905, allocations: 91.7 kB / 424.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000346/0.2908, allocations: 274.8 kB / 424.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.291, allocations: 64.38 kB / 424.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003063/0.2913, allocations: 107.6 kB / 424.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.2915, allocations: 123.5 kB / 424.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.188e-05/0.2915, allocations: 24 kB / 424.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.2916, allocations: 39.98 kB / 424.9 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.126e-05/0.2917, allocations: 43.84 kB / 424.9 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.2918, allocations: 123.4 kB / 425.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003887/0.2922, allocations: 288.1 kB / 425.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.778e-06/0.2922, allocations: 0 / 425.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2922, allocations: 0 / 425.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.2922, allocations: 0 / 425.3 MB, free: 10.64 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.0009892/0.2932, allocations: 0.5455 MB / 425.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.2932, allocations: 8.031 kB / 425.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.416e-05/0.2933, allocations: 24.8 kB / 425.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004722/0.2938, allocations: 243.9 kB / 426.2 MB, free: 9.734 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.2938, allocations: 12.81 kB / 426.2 MB, free: 9.723 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.2939, allocations: 20.38 kB / 426.2 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/0.2943, allocations: 191.6 kB / 426.4 MB, free: 9.508 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.2943, allocations: 4 kB / 426.4 MB, free: 9.504 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/0.2943, allocations: 12 kB / 426.4 MB, free: 9.492 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.2943, allocations: 4 kB / 426.4 MB, free: 9.488 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003404/0.2947, allocations: 149.7 kB / 426.5 MB, free: 9.34 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.001542/0.2962, allocations: 0.9375 MB / 427.5 MB, free: 8.293 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.2965, allocations: 142.5 kB / 427.6 MB, free: 8.145 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/0.2968, allocations: 88.89 kB / 427.7 MB, free: 8.055 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.2968, allocations: 4 kB / 427.7 MB, free: 8.051 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.2968, allocations: 38.56 kB / 427.7 MB, free: 8.004 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.613e-06/0.2968, allocations: 0 / 427.7 MB, free: 8.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001397/0.2982, allocations: 414.3 kB / 428.2 MB, free: 7.574 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.2983, allocations: 59.33 kB / 428.2 MB, free: 7.504 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.2985, allocations: 183.4 kB / 428.4 MB, free: 7.312 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.2985, allocations: 29.7 kB / 428.4 MB, free: 7.277 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.2987, allocations: 152.3 kB / 428.6 MB, free: 7.125 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.321e-05/0.2987, allocations: 59.5 kB / 428.6 MB, free: 7.066 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.25e-05/0.2988, allocations: 41.64 kB / 428.7 MB, free: 7.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003311/0.2991, allocations: 326.8 kB / 429 MB, free: 6.691 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.2993, allocations: 55.91 kB / 429 MB, free: 6.637 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.2994, allocations: 76.88 kB / 429.1 MB, free: 6.559 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/0.2996, allocations: 117.7 kB / 429.2 MB, free: 6.438 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2996, allocations: 0 / 429.2 MB, free: 6.438 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004338/0.3001, allocations: 218.3 kB / 429.4 MB, free: 6.215 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.3001, allocations: 8 kB / 429.5 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3001, allocations: 4.031 kB / 429.5 MB, free: 6.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.3015, allocations: 220.5 kB / 429.7 MB, free: 5.984 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.3016, allocations: 31.97 kB / 429.7 MB, free: 5.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005681/0.3022, allocations: 0.6109 MB / 430.3 MB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.3023, allocations: 15.86 kB / 430.3 MB, free: 5.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.3023, allocations: 8 kB / 430.3 MB, free: 5.293 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.0001486/0.3025, allocations: 137.7 kB / 430.5 MB, free: 5.148 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.726e-05/0.3025, allocations: 15.91 kB / 430.5 MB, free: 5.133 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004976/0.303, allocations: 230.6 kB / 430.7 MB, free: 4.898 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.303, allocations: 4.062 kB / 430.7 MB, free: 4.895 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.303, allocations: 0 / 430.7 MB, free: 4.895 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.303, allocations: 0 / 430.7 MB, free: 4.895 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009805/0.304, allocations: 0.5897 MB / 431.3 MB, free: 4.242 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.304, allocations: 0 / 431.3 MB, free: 4.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.3042, allocations: 35.91 kB / 431.3 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001136/0.3053, allocations: 200.6 kB / 431.5 MB, free: 4.008 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.3053, allocations: 11.98 kB / 431.5 MB, free: 3.996 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000536/0.3059, allocations: 0.6187 MB / 432.2 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.3059, allocations: 4 kB / 432.2 MB, free: 3.348 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008421/0.3067, allocations: 416.9 kB / 432.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.219e-05/0.3068, allocations: 104.9 kB / 432.7 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.3068, allocations: 7.984 kB / 432.7 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.307, allocations: 8.062 kB / 432.7 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/0.307, allocations: 16.08 kB / 432.7 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.307, allocations: 7.938 kB / 432.7 MB, free: 2.758 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001264/0.3072, allocations: 136.2 kB / 432.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3072, allocations: 0 / 432.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000317/0.3075, allocations: 55.89 kB / 432.9 MB, free: 2.57 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.0003185/0.3078, allocations: 107.2 kB / 433 MB, free: 2.453 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004154/0.3082, allocations: 146.3 kB / 433.2 MB, free: 2.312 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3082, allocations: 0 / 433.2 MB, free: 2.312 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.3084, allocations: 75.95 kB / 433.2 MB, free: 2.238 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.3088, allocations: 22.75 kB / 433.2 MB, free: 2.219 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.3099, allocations: 0.5749 MB / 433.8 MB, free: 1.613 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006877/0.3106, allocations: 0.74 MB / 434.6 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.22e-05/0.3107, allocations: 13.55 kB / 434.6 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.437e-05/0.3107, allocations: 15.44 kB / 434.6 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3107, allocations: 0 / 434.6 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of Templates: time 0.007382/0.3181, allocations: 2.667 MB / 437.3 MB, free: 14.18 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/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.576101564802229]