Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001163/0.001163, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001764/0.002927, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00107/0.00107, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001532/0.002602, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9136/0.9136, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0836/0.9972, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.227e-05/1.38e-05, allocations: 2.312 kB / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003532/0.003546, allocations: 2.613 MB / 247.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.004638, allocations: 0.7087 MB / 248.5 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.004742, allocations: 4 kB / 248.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.004843, allocations: 27.66 kB / 248.6 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.004985, allocations: 87.2 kB / 248.7 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.005214, allocations: 95.73 kB / 248.7 MB, free: 9.996 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.005502, allocations: 290.6 kB / 249 MB, free: 9.711 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.005652, allocations: 62.45 kB / 249.1 MB, free: 9.652 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002953/0.005947, allocations: 187.5 kB / 249.3 MB, free: 9.469 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.006109, allocations: 87.77 kB / 249.4 MB, free: 9.383 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.702e-05/0.006146, allocations: 24 kB / 249.4 MB, free: 9.359 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.006259, allocations: 39.98 kB / 249.4 MB, free: 9.32 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.062e-05/0.006299, allocations: 39.81 kB / 249.5 MB, free: 9.281 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.352e-05/0.006373, allocations: 71.88 kB / 249.5 MB, free: 9.211 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.006644, allocations: 183.3 kB / 249.7 MB, free: 9.031 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/0.006654, allocations: 4 kB / 249.7 MB, free: 9.027 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.006655, allocations: 0 / 249.7 MB, free: 9.027 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.006665, allocations: 0 / 249.7 MB, free: 9.027 MB / 250.7 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.0007109/0.007376, allocations: 0.4958 MB / 250.2 MB, free: 8.508 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.007409, allocations: 12.62 kB / 250.2 MB, free: 8.496 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.007596, allocations: 122 kB / 250.3 MB, free: 8.359 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.007834, allocations: 165.5 kB / 250.5 MB, free: 8.172 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.007856, allocations: 16.88 kB / 250.5 MB, free: 8.156 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.794e-05/0.007904, allocations: 20.38 kB / 250.5 MB, free: 8.137 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.008158, allocations: 200.7 kB / 250.7 MB, free: 7.922 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.00817, allocations: 192 / 250.7 MB, free: 7.922 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.00819, allocations: 12.38 kB / 250.7 MB, free: 7.91 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.008199, allocations: 7.938 kB / 250.8 MB, free: 7.902 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.008331, allocations: 57.41 kB / 250.8 MB, free: 7.844 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009035/0.009235, allocations: 0.5044 MB / 251.3 MB, free: 7.309 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.009428, allocations: 98.5 kB / 251.4 MB, free: 7.203 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.00954, allocations: 52.83 kB / 251.5 MB, free: 7.148 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.009559, allocations: 4 kB / 251.5 MB, free: 7.145 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.009587, allocations: 42.5 kB / 251.5 MB, free: 7.094 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 2.985e-06/0.00959, allocations: 3.984 kB / 251.5 MB, free: 7.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009574/0.01055, allocations: 238.4 kB / 251.7 MB, free: 6.848 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.01058, allocations: 51.41 kB / 251.8 MB, free: 6.785 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.0107, allocations: 170.6 kB / 252 MB, free: 6.605 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.01072, allocations: 29.7 kB / 252 MB, free: 6.57 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.375e-05/0.01079, allocations: 136.4 kB / 252.1 MB, free: 6.434 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/0.01084, allocations: 59.47 kB / 252.2 MB, free: 6.375 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.226e-05/0.0109, allocations: 37.69 kB / 252.2 MB, free: 6.332 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.115e-05/0.01099, allocations: 330.8 kB / 252.5 MB, free: 6 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.209e-05/0.01103, allocations: 19.98 kB / 252.6 MB, free: 5.98 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.228e-05/0.01109, allocations: 37.69 kB / 252.6 MB, free: 5.938 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.0112, allocations: 81.55 kB / 252.7 MB, free: 5.852 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.0112, allocations: 0 / 252.7 MB, free: 5.852 MB / 250.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002131/0.01142, allocations: 133.6 kB / 252.8 MB, free: 5.715 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.01143, allocations: 7.281 kB / 252.8 MB, free: 5.711 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.01143, allocations: 0 / 252.8 MB, free: 5.711 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006102/0.01204, allocations: 160.7 kB / 253 MB, free: 5.551 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.01215, allocations: 47.91 kB / 253 MB, free: 5.504 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002474/0.0124, allocations: 0.5639 MB / 253.6 MB, free: 4.914 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.496e-05/0.01245, allocations: 19.88 kB / 253.6 MB, free: 4.895 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.01245, allocations: 0 / 253.6 MB, free: 4.895 MB / 250.7 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 5.871e-05/0.01251, allocations: 113.8 kB / 253.7 MB, free: 4.773 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.01253, allocations: 19.98 kB / 253.7 MB, free: 4.754 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/0.01269, allocations: 144.1 kB / 253.9 MB, free: 4.605 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.01269, allocations: 4 kB / 253.9 MB, free: 4.602 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.72e-07/0.0127, allocations: 0 / 253.9 MB, free: 4.602 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.0127, allocations: 0 / 253.9 MB, free: 4.602 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003315/0.01303, allocations: 360.1 kB / 254.2 MB, free: 4.219 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.01303, allocations: 0 / 254.2 MB, free: 4.219 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.443e-05/0.01313, allocations: 35.97 kB / 254.3 MB, free: 4.184 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.402e-05/0.01314, allocations: 11.91 kB / 254.3 MB, free: 4.172 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003627/0.0135, allocations: 160.6 kB / 254.4 MB, free: 4.012 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.01351, allocations: 8 kB / 254.4 MB, free: 4.004 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002149/0.01373, allocations: 0.5679 MB / 255 MB, free: 3.41 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.01373, allocations: 7.938 kB / 255 MB, free: 3.402 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.01401, allocations: 300.3 kB / 255.3 MB, free: 3.09 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.01403, allocations: 3.984 kB / 255.3 MB, free: 3.086 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.691e-05/0.01409, allocations: 8 kB / 255.3 MB, free: 3.078 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.01411, allocations: 15.98 kB / 255.3 MB, free: 3.062 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.01413, allocations: 15.98 kB / 255.4 MB, free: 3.047 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.394e-05/0.01416, allocations: 48.78 kB / 255.4 MB, free: 2.996 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01416, allocations: 0 / 255.4 MB, free: 2.996 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001537/0.01431, allocations: 59.83 kB / 255.5 MB, free: 2.938 MB / 250.7 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.0001016/0.01442, allocations: 84.42 kB / 255.5 MB, free: 2.844 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001524/0.01457, allocations: 100.9 kB / 255.6 MB, free: 2.746 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.01457, allocations: 4 kB / 255.6 MB, free: 2.742 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.229e-05/0.01465, allocations: 74.02 kB / 255.7 MB, free: 2.668 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.01488, allocations: 257.6 kB / 256 MB, free: 2.367 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.01725, allocations: 481.5 kB / 256.4 MB, free: 1.871 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4e-05/0.01729, allocations: 76.22 kB / 256.5 MB, free: 1.777 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.2e-05/0.01734, allocations: 17.48 kB / 256.5 MB, free: 1.762 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.919e-05/0.01742, allocations: 87.33 kB / 256.6 MB, free: 1.676 MB / 250.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01742, allocations: 0 / 256.6 MB, free: 1.676 MB / 250.7 MB Notification: Performance of Templates: time 0.004336/0.02175, allocations: 2.782 MB / 259.4 MB, free: 14.93 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4965778505429626]