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.001325/0.001325, allocations: 117 kB / 18.41 MB, free: 4.555 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.001393/0.001393, allocations: 186.9 kB / 21.35 MB, free: 1.621 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.429/1.429, allocations: 222.9 MB / 247.1 MB, free: 4.211 MB / 190.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.001549/0.001549, allocations: 47.92 kB / 358.7 MB, free: 8.359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09427/0.09584, allocations: 49.44 MB / 408.1 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004008/0.09988, allocations: 2.507 MB / 410.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.1013, allocations: 0.6544 MB / 411.3 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001654/0.1014, allocations: 4 kB / 411.3 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.1016, allocations: 35.64 kB / 411.3 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001791/0.1018, allocations: 75.33 kB / 411.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.1022, allocations: 83.78 kB / 411.5 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003636/0.1025, allocations: 282.7 kB / 411.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.1027, allocations: 84.31 kB / 411.8 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/0.103, allocations: 103.6 kB / 411.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.1032, allocations: 123.4 kB / 412 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.46e-05/0.1032, allocations: 24 kB / 412.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.925e-05/0.1033, allocations: 35.98 kB / 412.1 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.881e-05/0.1034, allocations: 51.83 kB / 412.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.1035, allocations: 123.4 kB / 412.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003733/0.1039, allocations: 282.8 kB / 412.5 MB, free: 2.414 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.1039, allocations: 4 kB / 412.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1039, allocations: 0 / 412.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.1039, allocations: 0 / 412.6 MB, free: 2.41 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.0009331/0.1049, allocations: 0.5338 MB / 413.1 MB, free: 1.828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.1049, allocations: 12.03 kB / 413.1 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.749e-05/0.105, allocations: 28.8 kB / 413.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/0.1054, allocations: 255.9 kB / 413.4 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.1054, allocations: 12.81 kB / 413.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.13e-05/0.1055, allocations: 20.38 kB / 413.4 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004054/0.1059, allocations: 195.6 kB / 413.6 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1059, allocations: 0 / 413.6 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.1059, allocations: 4 kB / 413.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.106, allocations: 11.98 kB / 413.6 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003453/0.1063, allocations: 153.6 kB / 413.8 MB, free: 1.102 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.00148/0.1078, allocations: 0.9375 MB / 414.7 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/0.1082, allocations: 146.6 kB / 414.8 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.1084, allocations: 96.81 kB / 414.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.1084, allocations: 4 kB / 414.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.1085, allocations: 34.56 kB / 415 MB, free: 15.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.463e-06/0.1085, allocations: 4 kB / 415 MB, free: 15.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001334/0.1098, allocations: 421.2 kB / 415.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.1099, allocations: 59.34 kB / 415.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.1101, allocations: 183.2 kB / 415.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.1101, allocations: 29.7 kB / 415.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.1102, allocations: 144.3 kB / 415.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.337e-05/0.1103, allocations: 71.42 kB / 415.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-05/0.1103, allocations: 33.7 kB / 415.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1105, allocations: 330.8 kB / 416.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.1106, allocations: 51.97 kB / 416.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.1108, allocations: 74.94 kB / 416.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.111, allocations: 122.7 kB / 416.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1111, allocations: 4 kB / 416.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004489/0.1115, allocations: 216.7 kB / 416.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.1116, allocations: 11.98 kB / 416.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1116, allocations: 0 / 416.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001431/0.113, allocations: 220.5 kB / 416.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.1132, allocations: 31.98 kB / 416.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005502/0.1137, allocations: 0.6109 MB / 417.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.1139, allocations: 11.92 kB / 417.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.1139, allocations: 11.94 kB / 417.6 MB, free: 13.04 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.0001423/0.114, allocations: 137.8 kB / 417.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.1141, allocations: 15.91 kB / 417.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005139/0.1146, allocations: 228.2 kB / 417.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.1146, allocations: 4 kB / 418 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1146, allocations: 0 / 418 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1147, allocations: 0 / 418 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009954/0.1157, allocations: 0.5916 MB / 418.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/0.1157, allocations: 4 kB / 418.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.1158, allocations: 35.91 kB / 418.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001124/0.117, allocations: 200.5 kB / 418.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.117, allocations: 11.98 kB / 418.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005358/0.1176, allocations: 0.6226 MB / 419.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1176, allocations: 0 / 419.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008902/0.1185, allocations: 426.8 kB / 419.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.858e-05/0.1186, allocations: 96.94 kB / 419.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.1186, allocations: 8 kB / 419.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.1188, allocations: 11.98 kB / 419.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.1188, allocations: 11.98 kB / 420 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.1188, allocations: 4 kB / 420 MB, free: 10.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001397/0.119, allocations: 136.4 kB / 420.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.119, allocations: 0 / 420.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003316/0.1193, allocations: 59.83 kB / 420.2 MB, free: 10.31 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.0001736/0.1195, allocations: 119.1 kB / 420.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000437/0.12, allocations: 143.9 kB / 420.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.12, allocations: 0 / 420.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.1202, allocations: 84.02 kB / 420.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.1206, allocations: 34.42 kB / 420.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.1216, allocations: 0.5804 MB / 421.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.122, allocations: 0.74 MB / 421.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/0.1221, allocations: 11.44 kB / 421.9 MB, free: 8.531 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1221, allocations: 96 / 421.9 MB, free: 8.531 MB / 350.1 MB Notification: Performance of Templates: time 0.005773/0.1278, allocations: 3.118 MB / 425 MB, free: 5.414 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.2034642971120775]