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.00134/0.00134, allocations: 73.02 kB / 21.24 MB, free: 0.5547 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.001412/0.001412, allocations: 159.2 kB / 24.5 MB, free: 3.719 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.429/1.429, allocations: 177.2 MB / 204.9 MB, free: 8.992 MB / 190.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.001634/0.001634, allocations: 55.53 kB / 325.6 MB, free: 244 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08965/0.09128, allocations: 53.34 MB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.00374/0.09502, allocations: 2.41 MB / 381.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.09639, allocations: 0.6583 MB / 382 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.09653, allocations: 7.938 kB / 382 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.09668, allocations: 39.58 kB / 382 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001477/0.09683, allocations: 75.34 kB / 382.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.09716, allocations: 95.77 kB / 382.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003528/0.09751, allocations: 282.8 kB / 382.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.09768, allocations: 60.48 kB / 382.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.0979, allocations: 123.5 kB / 382.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.09807, allocations: 95.53 kB / 382.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.913e-05/0.09812, allocations: 24 kB / 382.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.09823, allocations: 36 kB / 382.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.911e-05/0.09829, allocations: 63.75 kB / 382.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.0984, allocations: 95.59 kB / 382.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003825/0.09878, allocations: 298.8 kB / 383.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.09879, allocations: 0 / 383.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.09879, allocations: 0 / 383.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.0988, allocations: 0 / 383.2 MB, free: 11.29 MB / 350.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.0008836/0.09968, allocations: 473.5 kB / 383.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.09973, allocations: 12.03 kB / 383.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002003/0.09993, allocations: 44.67 kB / 383.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.1003, allocations: 178.2 kB / 383.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.1003, allocations: 12.88 kB / 383.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.483e-05/0.1004, allocations: 24.38 kB / 384 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004565/0.1009, allocations: 243.8 kB / 384.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.1009, allocations: 3.953 kB / 384.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.1009, allocations: 19.98 kB / 384.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.1009, allocations: 4 kB / 384.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003375/0.1013, allocations: 149.9 kB / 384.4 MB, free: 10.07 MB / 350.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.001236/0.1025, allocations: 0.6335 MB / 385 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003288/0.1028, allocations: 145.6 kB / 385.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001964/0.103, allocations: 80.83 kB / 385.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.103, allocations: 8 kB / 385.2 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.1031, allocations: 34.55 kB / 385.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.1031, allocations: 3.938 kB / 385.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001242/0.1043, allocations: 338.3 kB / 385.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.1044, allocations: 59.41 kB / 385.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.1045, allocations: 171.3 kB / 385.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.1046, allocations: 29.7 kB / 385.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.1047, allocations: 152.4 kB / 386 MB, free: 8.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.863e-05/0.1047, allocations: 59.44 kB / 386.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.574e-05/0.1048, allocations: 41.64 kB / 386.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1049, allocations: 326.8 kB / 386.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.105, allocations: 55.91 kB / 386.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.1052, allocations: 72.88 kB / 386.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.1054, allocations: 125.7 kB / 386.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1054, allocations: 3.938 kB / 386.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004121/0.1058, allocations: 216.7 kB / 386.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1059, allocations: 8 kB / 386.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.1059, allocations: 0 / 386.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001327/0.1072, allocations: 220.6 kB / 387.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.1073, allocations: 35.91 kB / 387.2 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005138/0.1078, allocations: 0.607 MB / 387.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.108, allocations: 11.92 kB / 387.8 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.108, allocations: 12 kB / 387.8 MB, free: 6.496 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.0001231/0.1081, allocations: 126.9 kB / 387.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/0.1081, allocations: 19.84 kB / 387.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004703/0.1086, allocations: 228.2 kB / 388.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1086, allocations: 4 kB / 388.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1086, allocations: 0 / 388.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1086, allocations: 0 / 388.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008605/0.1095, allocations: 0.5072 MB / 388.7 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1095, allocations: 0 / 388.7 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.1096, allocations: 31.91 kB / 388.7 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001072/0.1107, allocations: 204.7 kB / 388.9 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.1107, allocations: 11.91 kB / 388.9 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000522/0.1113, allocations: 0.6187 MB / 389.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1113, allocations: 0 / 389.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008384/0.1121, allocations: 427 kB / 389.9 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.251e-05/0.1121, allocations: 15.94 kB / 390 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.1122, allocations: 12.03 kB / 390 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.1123, allocations: 15.92 kB / 390 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.1123, allocations: 11.98 kB / 390 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.1124, allocations: 7.984 kB / 390 MB, free: 4.172 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001145/0.1125, allocations: 135.2 kB / 390.1 MB, free: 4.039 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1125, allocations: 0 / 390.1 MB, free: 4.039 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003143/0.1128, allocations: 67.78 kB / 390.2 MB, free: 3.973 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.0001616/0.113, allocations: 103.3 kB / 390.3 MB, free: 3.859 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003916/0.1133, allocations: 139.9 kB / 390.4 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1133, allocations: 0 / 390.4 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.1135, allocations: 79.84 kB / 390.5 MB, free: 3.645 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.1139, allocations: 36.11 kB / 390.6 MB, free: 3.609 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.1149, allocations: 0.5452 MB / 391.1 MB, free: 3.031 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.115, allocations: 130.1 kB / 391.2 MB, free: 2.887 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.797e-05/0.115, allocations: 17.47 kB / 391.2 MB, free: 2.871 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.1151, allocations: 12.5 kB / 391.3 MB, free: 2.859 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1151, allocations: 7.938 kB / 391.3 MB, free: 2.852 MB / 350.1 MB Notification: Performance of Templates: time 0.006279/0.1214, allocations: 2.246 MB / 393.5 MB, free: 0.6406 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 -s ida -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: 4.2232542160199955]