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.001283/0.001283, allocations: 116 kB / 18.45 MB, free: 4.562 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.001348/0.001348, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.471/1.471, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.001671/0.001671, allocations: 43.94 kB / 374.2 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1186, allocations: 53.33 MB / 427.5 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.005003/0.1236, allocations: 2.553 MB / 430 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.1254, allocations: 0.705 MB / 430.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004291/0.1258, allocations: 4 kB / 430.8 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002911/0.1261, allocations: 39.59 kB / 430.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003615/0.1265, allocations: 71.34 kB / 430.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006251/0.1271, allocations: 95.81 kB / 431 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007045/0.1278, allocations: 286.6 kB / 431.2 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002745/0.1281, allocations: 60.31 kB / 431.3 MB, free: 440 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004045/0.1285, allocations: 115.6 kB / 431.4 MB, free: 324 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002796/0.1288, allocations: 119.5 kB / 431.5 MB, free: 204 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.067e-05/0.1288, allocations: 24 kB / 431.5 MB, free: 180 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.129, allocations: 39.98 kB / 431.6 MB, free: 140 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.973e-05/0.129, allocations: 51.77 kB / 431.6 MB, free: 88 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2399/0.3689, allocations: 124.1 kB / 431.8 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005189/0.3694, allocations: 284.1 kB / 432 MB, free: 8.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3694, allocations: 1.188 kB / 432 MB, free: 8.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3694, allocations: 0 / 432 MB, free: 8.383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.3694, allocations: 0 / 432 MB, free: 8.383 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.0008161/0.3702, allocations: 0.5425 MB / 432.6 MB, free: 7.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.3703, allocations: 9.344 kB / 432.6 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.3705, allocations: 39.67 kB / 432.6 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.3708, allocations: 242.7 kB / 432.9 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.3708, allocations: 19.56 kB / 432.9 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.277e-05/0.3708, allocations: 19.16 kB / 432.9 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003567/0.3712, allocations: 191.3 kB / 433.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.3712, allocations: 3.938 kB / 433.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/0.3712, allocations: 11.17 kB / 433.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.3712, allocations: 4.781 kB / 433.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000304/0.3715, allocations: 149.3 kB / 433.3 MB, free: 7.68 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.001205/0.3727, allocations: 0.9283 MB / 434.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.373, allocations: 145.5 kB / 434.3 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.3732, allocations: 86.36 kB / 434.4 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.3732, allocations: 8.422 kB / 434.4 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/0.3732, allocations: 34.72 kB / 434.4 MB, free: 7.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.352e-06/0.3732, allocations: 0 / 434.4 MB, free: 7.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001232/0.3745, allocations: 413.5 kB / 434.9 MB, free: 6.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.3745, allocations: 57.94 kB / 434.9 MB, free: 6.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.3746, allocations: 177.7 kB / 435.1 MB, free: 6.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.3747, allocations: 32.98 kB / 435.1 MB, free: 6.664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.596e-05/0.3747, allocations: 155.5 kB / 435.3 MB, free: 6.551 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.3748, allocations: 66.45 kB / 435.3 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.007e-05/0.3748, allocations: 37.69 kB / 435.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.906e-05/0.3749, allocations: 325.3 kB / 435.7 MB, free: 6.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.375, allocations: 53.58 kB / 435.7 MB, free: 6.176 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.3751, allocations: 77.27 kB / 435.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.3753, allocations: 121.8 kB / 435.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3753, allocations: 0 / 435.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000387/0.3757, allocations: 220.1 kB / 436.1 MB, free: 6.094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3757, allocations: 7.828 kB / 436.2 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3757, allocations: 1.094 kB / 436.2 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001317/0.3771, allocations: 222.2 kB / 436.4 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.3772, allocations: 36.7 kB / 436.4 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003544/0.3776, allocations: 0.6037 MB / 437 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.3777, allocations: 16.77 kB / 437 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.3777, allocations: 5.016 kB / 437 MB, free: 5.547 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.0001005/0.3778, allocations: 142.9 kB / 437.2 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/0.3778, allocations: 16.66 kB / 437.2 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004451/0.3783, allocations: 225.8 kB / 437.4 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3783, allocations: 2.094 kB / 437.4 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3783, allocations: 1.219 kB / 437.4 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.3783, allocations: 2.078 kB / 437.4 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008299/0.3791, allocations: 0.5896 MB / 438 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3791, allocations: 1.672 kB / 438 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.3793, allocations: 29.02 kB / 438 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001078/0.3804, allocations: 210 kB / 438.2 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.3804, allocations: 4.344 kB / 438.2 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00034/0.3807, allocations: 0.6224 MB / 438.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3807, allocations: 1 kB / 438.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008072/0.3815, allocations: 424 kB / 439.3 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.544e-05/0.3816, allocations: 103.6 kB / 439.4 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.3816, allocations: 6.062 kB / 439.4 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.3817, allocations: 11.44 kB / 439.4 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.3818, allocations: 11.19 kB / 439.4 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.3818, allocations: 9.672 kB / 439.4 MB, free: 4.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.529e-05/0.3819, allocations: 130.9 kB / 439.5 MB, free: 4.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3819, allocations: 4.062 kB / 439.6 MB, free: 4.145 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003321/0.3822, allocations: 55.58 kB / 439.6 MB, free: 4.137 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.0001602/0.3824, allocations: 117.4 kB / 439.7 MB, free: 4.047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004293/0.3828, allocations: 139.6 kB / 439.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3828, allocations: 0 / 439.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.383, allocations: 79.39 kB / 439.9 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.3834, allocations: 39.81 kB / 440 MB, free: 4.031 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009924/0.3844, allocations: 0.5851 MB / 440.6 MB, free: 3.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/0.3846, allocations: 0.7433 MB / 441.3 MB, free: 2.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.3846, allocations: 15.41 kB / 441.3 MB, free: 2.977 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3846, allocations: 0 / 441.3 MB, free: 2.977 MB / 350.1 MB Notification: Performance of Templates: time 0.006232/0.3908, allocations: 3.154 MB / 444.5 MB, free: 2.758 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/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: 7.380000397999538]