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.000764/0.000764, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.002983/0.002983, allocations: 144.8 kB / 24.68 MB, free: 8.91 MB / 18.57 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 0.8127/0.8127, allocations: 173.4 MB / 201.2 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] 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 1.192e-06/1.192e-06, allocations: 0 / 319.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34e-05/1.459e-05, allocations: 10.22 kB / 319.7 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002301/0.002316, allocations: 2.376 MB / 322.1 MB, free: 3.441 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007604/0.003076, allocations: 0.6386 MB / 322.7 MB, free: 2.797 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.773e-05/0.003164, allocations: 4 kB / 322.7 MB, free: 2.793 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.003274, allocations: 39.64 kB / 322.7 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.725e-05/0.003361, allocations: 83.2 kB / 322.8 MB, free: 2.672 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.003616, allocations: 83.75 kB / 322.9 MB, free: 2.59 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.003829, allocations: 286.6 kB / 323.2 MB, free: 2.309 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.003961, allocations: 56.56 kB / 323.2 MB, free: 2.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.00411, allocations: 167.5 kB / 323.4 MB, free: 2.086 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.004215, allocations: 87.77 kB / 323.5 MB, free: 2 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.696e-05/0.004242, allocations: 28 kB / 323.5 MB, free: 1.973 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.076e-05/0.004302, allocations: 31.98 kB / 323.6 MB, free: 1.941 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.212e-05/0.004335, allocations: 47.83 kB / 323.6 MB, free: 1.895 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.692e-05/0.004391, allocations: 91.75 kB / 323.7 MB, free: 1.805 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.004634, allocations: 291.1 kB / 324 MB, free: 1.52 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.004636, allocations: 0 / 324 MB, free: 1.52 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.004637, allocations: 0 / 324 MB, free: 1.52 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.004641, allocations: 0 / 324 MB, free: 1.52 MB / 282.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.0005463/0.005187, allocations: 473.6 kB / 324.4 MB, free: 1.027 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.005218, allocations: 12.92 kB / 324.4 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.527e-05/0.005264, allocations: 24.8 kB / 324.5 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.005467, allocations: 181.3 kB / 324.7 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.005483, allocations: 12.88 kB / 324.7 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/0.005515, allocations: 24.38 kB / 324.7 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.005776, allocations: 244 kB / 324.9 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.005788, allocations: 4.188 kB / 324.9 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.005805, allocations: 12.38 kB / 324.9 MB, free: 492 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.005812, allocations: 7.938 kB / 324.9 MB, free: 484 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.006007, allocations: 149.9 kB / 325.1 MB, free: 336 kB / 282.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.0007694/0.006776, allocations: 0.6218 MB / 325.7 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.006978, allocations: 142.6 kB / 325.9 MB, free: 15.51 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.007106, allocations: 80.83 kB / 325.9 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.007123, allocations: 4.312 kB / 325.9 MB, free: 15.42 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.007141, allocations: 34.56 kB / 326 MB, free: 15.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.272e-06/0.007142, allocations: 0 / 326 MB, free: 15.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006654/0.007807, allocations: 341 kB / 326.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.007834, allocations: 59.34 kB / 326.4 MB, free: 14.97 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.007942, allocations: 178.3 kB / 326.5 MB, free: 14.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.007958, allocations: 33.7 kB / 326.6 MB, free: 14.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.038e-05/0.008018, allocations: 144.4 kB / 326.7 MB, free: 14.6 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.008049, allocations: 63.47 kB / 326.8 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/0.008091, allocations: 33.7 kB / 326.8 MB, free: 14.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.482e-05/0.008166, allocations: 334.8 kB / 327.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.616e-05/0.008232, allocations: 47.98 kB / 327.2 MB, free: 14.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.664e-05/0.008309, allocations: 76.62 kB / 327.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.008455, allocations: 136.7 kB / 327.4 MB, free: 13.9 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.008457, allocations: 0 / 327.4 MB, free: 13.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002404/0.008698, allocations: 214.3 kB / 327.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.948e-06/0.008708, allocations: 4 kB / 327.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.008712, allocations: 0 / 327.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006275/0.009339, allocations: 228.5 kB / 327.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.062e-05/0.00941, allocations: 27.98 kB / 327.9 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003171/0.009727, allocations: 0.6109 MB / 328.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.095e-05/0.009778, allocations: 15.92 kB / 328.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.009787, allocations: 11.92 kB / 328.5 MB, free: 12.76 MB / 298.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 7.776e-05/0.009865, allocations: 125.8 kB / 328.6 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.009886, allocations: 27.91 kB / 328.6 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002681/0.01015, allocations: 228.1 kB / 328.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.01016, allocations: 0 / 328.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.01016, allocations: 0 / 328.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.01016, allocations: 3.984 kB / 328.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000496/0.01066, allocations: 0.4957 MB / 329.4 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01066, allocations: 0 / 329.4 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.826e-05/0.01074, allocations: 40.02 kB / 329.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004585/0.0112, allocations: 200.6 kB / 329.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.01121, allocations: 4 kB / 329.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003072/0.01152, allocations: 0.6265 MB / 330.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.01152, allocations: 0 / 330.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000479/0.012, allocations: 419 kB / 330.6 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.864e-05/0.01201, allocations: 19.88 kB / 330.7 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.01203, allocations: 8 kB / 330.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.365e-05/0.0121, allocations: 8.094 kB / 330.7 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.01213, allocations: 19.84 kB / 330.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.01213, allocations: 4 kB / 330.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.409e-05/0.0122, allocations: 136.3 kB / 330.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0122, allocations: 0 / 330.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001843/0.01238, allocations: 63.89 kB / 330.9 MB, free: 10.25 MB / 298.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.0001109/0.01249, allocations: 115.2 kB / 331 MB, free: 10.13 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.01273, allocations: 139.8 kB / 331.1 MB, free: 9.992 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01273, allocations: 0 / 331.1 MB, free: 9.992 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.057e-05/0.01282, allocations: 71.95 kB / 331.2 MB, free: 9.922 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.01302, allocations: 34.86 kB / 331.2 MB, free: 9.891 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005917/0.01361, allocations: 0.4993 MB / 331.7 MB, free: 9.355 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.559e-05/0.01369, allocations: 134.1 kB / 331.9 MB, free: 9.203 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/0.01372, allocations: 16.5 kB / 331.9 MB, free: 9.188 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01372, allocations: 0 / 331.9 MB, free: 9.188 MB / 298.7 MB Notification: Performance of Templates: time 0.003278/0.017, allocations: 3.212 MB / 335.1 MB, free: 5.973 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 3.9763667583465576]