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.001468/0.001468, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001558/0.001558, allocations: 161.7 kB / 24.27 MB, free: 168 kB / 18.57 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.466/1.466, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 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 1.994e-06/1.994e-06, allocations: 0 / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/3.029e-05, allocations: 2.312 kB / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.00417/0.004201, allocations: 2.409 MB / 274.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.005633, allocations: 0.666 MB / 275.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.005753, allocations: 4 kB / 275.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001561/0.005909, allocations: 31.64 kB / 275.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.00607, allocations: 83.27 kB / 275.5 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003667/0.006437, allocations: 95.69 kB / 275.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000376/0.006813, allocations: 294.6 kB / 275.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.006992, allocations: 60.53 kB / 276 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003105/0.007302, allocations: 171.5 kB / 276.1 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.007468, allocations: 79.77 kB / 276.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.406e-05/0.007512, allocations: 24 kB / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.00762, allocations: 47.91 kB / 276.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.963e-05/0.00768, allocations: 51.77 kB / 276.3 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.007798, allocations: 83.83 kB / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005705/0.008369, allocations: 295.1 kB / 276.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.008373, allocations: 0 / 276.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.008374, allocations: 4 kB / 276.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.008381, allocations: 0 / 276.7 MB, free: 13.43 MB / 266.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.0009822/0.009363, allocations: 473.5 kB / 277.2 MB, free: 12.94 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.009406, allocations: 8.031 kB / 277.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002328/0.009639, allocations: 56.73 kB / 277.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/0.01005, allocations: 189.5 kB / 277.4 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.626e-05/0.01009, allocations: 12.88 kB / 277.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.711e-05/0.01014, allocations: 24.31 kB / 277.4 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004674/0.01061, allocations: 244 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.01063, allocations: 192 / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/0.01066, allocations: 8.375 kB / 277.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.01067, allocations: 7.938 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003539/0.01102, allocations: 149.9 kB / 277.8 MB, free: 12.21 MB / 266.7 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.001395/0.01242, allocations: 0.6375 MB / 278.5 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.01276, allocations: 142.5 kB / 278.6 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.01299, allocations: 80.83 kB / 278.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/0.01302, allocations: 11.98 kB / 278.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.01306, allocations: 42.55 kB / 278.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.132e-06/0.01306, allocations: 0 / 278.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.001369/0.01443, allocations: 344.7 kB / 279.1 MB, free: 10.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.01448, allocations: 55.34 kB / 279.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.0147, allocations: 175.3 kB / 279.3 MB, free: 10.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.01473, allocations: 29.7 kB / 279.3 MB, free: 10.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.01486, allocations: 156.4 kB / 279.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.806e-05/0.01492, allocations: 71.44 kB / 279.6 MB, free: 10.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.264e-05/0.01501, allocations: 33.7 kB / 279.6 MB, free: 10.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.0152, allocations: 326.8 kB / 279.9 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.01533, allocations: 51.97 kB / 280 MB, free: 9.961 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.01548, allocations: 69.62 kB / 280 MB, free: 9.887 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.01574, allocations: 129.1 kB / 280.2 MB, free: 9.758 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01575, allocations: 0 / 280.2 MB, free: 9.758 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004819/0.01623, allocations: 222.3 kB / 280.4 MB, free: 9.531 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.01625, allocations: 11.92 kB / 280.4 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.01625, allocations: 3.938 kB / 280.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00148/0.01773, allocations: 216.6 kB / 280.6 MB, free: 9.301 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.01788, allocations: 27.98 kB / 280.6 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006257/0.0185, allocations: 0.6303 MB / 281.3 MB, free: 8.617 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.01865, allocations: 15.89 kB / 281.3 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.01867, allocations: 4 kB / 281.3 MB, free: 8.598 MB / 266.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 0.0001905/0.01887, allocations: 125.8 kB / 281.4 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.075e-05/0.01893, allocations: 23.91 kB / 281.4 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005207/0.01945, allocations: 232.1 kB / 281.7 MB, free: 8.207 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.463e-06/0.01945, allocations: 4 kB / 281.7 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.01946, allocations: 0 / 281.7 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.01946, allocations: 4.062 kB / 281.7 MB, free: 8.199 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009603/0.02042, allocations: 0.4995 MB / 282.2 MB, free: 7.656 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.02042, allocations: 0 / 282.2 MB, free: 7.656 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.02059, allocations: 27.92 kB / 282.2 MB, free: 7.629 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001195/0.02178, allocations: 204.7 kB / 282.4 MB, free: 7.426 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.0218, allocations: 0 / 282.4 MB, free: 7.426 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006286/0.02243, allocations: 0.6382 MB / 283 MB, free: 6.762 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.02243, allocations: 0 / 283 MB, free: 6.762 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009748/0.02341, allocations: 432.9 kB / 283.5 MB, free: 6.324 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.326e-05/0.02345, allocations: 15.88 kB / 283.5 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.02348, allocations: 4 kB / 283.5 MB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.02364, allocations: 16.11 kB / 283.5 MB, free: 6.289 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.426e-05/0.0237, allocations: 11.92 kB / 283.5 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.02373, allocations: 8 kB / 283.5 MB, free: 6.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001431/0.02387, allocations: 136.3 kB / 283.6 MB, free: 6.137 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02387, allocations: 0 / 283.6 MB, free: 6.137 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003414/0.02421, allocations: 63.78 kB / 283.7 MB, free: 6.074 MB / 266.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.0004074/0.02462, allocations: 103.2 kB / 283.8 MB, free: 5.965 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004511/0.02507, allocations: 144.9 kB / 283.9 MB, free: 5.824 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.02507, allocations: 0 / 283.9 MB, free: 5.824 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.02529, allocations: 85.02 kB / 284 MB, free: 5.742 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.02563, allocations: 19.98 kB / 284 MB, free: 5.723 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.02674, allocations: 0.4947 MB / 284.5 MB, free: 5.191 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.02689, allocations: 134 kB / 284.7 MB, free: 5.043 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.236e-05/0.02696, allocations: 17.48 kB / 284.7 MB, free: 5.027 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.877e-05/0.027, allocations: 12.5 kB / 284.7 MB, free: 5.016 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.027, allocations: 0 / 284.7 MB, free: 5.016 MB / 266.7 MB Notification: Performance of Templates: time 0.006618/0.03361, allocations: 2.235 MB / 286.9 MB, free: 2.812 MB / 266.7 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.375995854032226]