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.001764/0.001764, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002067/0.002067, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.529/1.529, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.002416/0.002416, allocations: 47.92 kB / 378.2 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2818, allocations: 53.38 MB / 431.6 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004078/0.2858, allocations: 2.393 MB / 434 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.2873, allocations: 0.67 MB / 434.7 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.2875, allocations: 4 kB / 434.7 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.2877, allocations: 39.53 kB / 434.7 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.2879, allocations: 75.33 kB / 434.8 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000396/0.2883, allocations: 95.81 kB / 434.9 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003813/0.2886, allocations: 278.7 kB / 435.1 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.2888, allocations: 63.83 kB / 435.2 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003688/0.2892, allocations: 111.6 kB / 435.3 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.2894, allocations: 107.5 kB / 435.4 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.853e-05/0.2895, allocations: 24 kB / 435.4 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.2896, allocations: 35.98 kB / 435.5 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.978e-05/0.2896, allocations: 55.78 kB / 435.5 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.2897, allocations: 99.53 kB / 435.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004472/0.2902, allocations: 294.5 kB / 435.9 MB, free: 2.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2902, allocations: 0 / 435.9 MB, free: 2.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2902, allocations: 0 / 435.9 MB, free: 2.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.2902, allocations: 4 kB / 435.9 MB, free: 2.406 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.0009306/0.2911, allocations: 476.2 kB / 436.4 MB, free: 1.914 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.2912, allocations: 8.031 kB / 436.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001847/0.2914, allocations: 40.73 kB / 436.4 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/0.2918, allocations: 194.1 kB / 436.6 MB, free: 1.652 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.2918, allocations: 12.81 kB / 436.6 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.157e-05/0.2918, allocations: 24.36 kB / 436.7 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004304/0.2923, allocations: 246.9 kB / 436.9 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.2923, allocations: 3.953 kB / 436.9 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.2923, allocations: 8 kB / 436.9 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.2923, allocations: 8 kB / 436.9 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003391/0.2927, allocations: 145.7 kB / 437.1 MB, free: 1.195 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.00135/0.294, allocations: 0.6329 MB / 437.7 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003442/0.2944, allocations: 138.6 kB / 437.8 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/0.2946, allocations: 84.83 kB / 437.9 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.2946, allocations: 7.984 kB / 437.9 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/0.2946, allocations: 38.56 kB / 438 MB, free: 236 kB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.503e-06/0.2946, allocations: 0 / 438 MB, free: 236 kB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001282/0.2959, allocations: 341 kB / 438.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.296, allocations: 51.41 kB / 438.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.2962, allocations: 167.3 kB / 438.5 MB, free: 15.65 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.2962, allocations: 33.7 kB / 438.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.2963, allocations: 148.4 kB / 438.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.037e-05/0.2964, allocations: 71.42 kB / 438.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.763e-05/0.2964, allocations: 41.64 kB / 438.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.2966, allocations: 326.8 kB / 439.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.2968, allocations: 59.84 kB / 439.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.2969, allocations: 68.12 kB / 439.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/0.2972, allocations: 121.7 kB / 439.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.2972, allocations: 0 / 439.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004472/0.2976, allocations: 225.1 kB / 439.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.2976, allocations: 4 kB / 439.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.2976, allocations: 3.938 kB / 439.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001344/0.299, allocations: 216.6 kB / 439.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.2991, allocations: 43.84 kB / 439.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005913/0.2997, allocations: 0.6109 MB / 440.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.2998, allocations: 11.92 kB / 440.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.2999, allocations: 8 kB / 440.5 MB, free: 13.62 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.0001468/0.3, allocations: 134.8 kB / 440.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.026e-05/0.3001, allocations: 23.83 kB / 440.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000483/0.3005, allocations: 220.2 kB / 440.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.3005, allocations: 0 / 440.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.3005, allocations: 0 / 440.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3005, allocations: 3.938 kB / 440.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009232/0.3015, allocations: 0.5035 MB / 441.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.3015, allocations: 4 kB / 441.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.3016, allocations: 27.97 kB / 441.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001057/0.3027, allocations: 204.6 kB / 441.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.3027, allocations: 11.92 kB / 441.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005416/0.3033, allocations: 0.6226 MB / 442.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3033, allocations: 0 / 442.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008665/0.3041, allocations: 416.9 kB / 442.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.809e-05/0.3042, allocations: 15.88 kB / 442.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/0.3042, allocations: 12.03 kB / 442.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.3043, allocations: 20.05 kB / 442.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.3044, allocations: 7.984 kB / 442.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.3044, allocations: 7.984 kB / 442.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.3045, allocations: 131.2 kB / 442.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3045, allocations: 0 / 442.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003491/0.3049, allocations: 63.84 kB / 442.9 MB, free: 11.1 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.0001682/0.305, allocations: 107.2 kB / 443 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004175/0.3055, allocations: 138 kB / 443.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3055, allocations: 3.938 kB / 443.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001981/0.3057, allocations: 83.88 kB / 443.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.306, allocations: 27.97 kB / 443.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.3072, allocations: 0.5599 MB / 443.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.3073, allocations: 130.1 kB / 443.9 MB, free: 10 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.82e-05/0.3074, allocations: 17.47 kB / 443.9 MB, free: 9.988 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.3074, allocations: 11.44 kB / 443.9 MB, free: 9.977 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3074, allocations: 0 / 443.9 MB, free: 9.977 MB / 350.1 MB Notification: Performance of Templates: time 0.007207/0.3146, allocations: 2.499 MB / 446.4 MB, free: 7.508 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/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_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: 4.671749221161008]