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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001524, allocations: 112.3 kB / 16.62 MB, free: 6.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 189.8 kB / 17.55 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 44.72 kB / 300.1 MB, free: 6.215 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1179, allocations: 49.44 MB / 349.6 MB, free: 4.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004127/0.122, allocations: 2.558 MB / 352.1 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.1236, allocations: 0.6544 MB / 352.8 MB, free: 1.523 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.1238, allocations: 0 / 352.8 MB, free: 1.523 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.124, allocations: 27.77 kB / 352.8 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.1242, allocations: 59.52 kB / 352.9 MB, free: 1.438 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.1246, allocations: 75.89 kB / 352.9 MB, free: 1.363 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003342/0.1249, allocations: 278.8 kB / 353.2 MB, free: 1.09 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002271/0.1251, allocations: 84.28 kB / 353.3 MB, free: 1 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.1253, allocations: 103.6 kB / 353.4 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.1255, allocations: 127.4 kB / 353.5 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.658e-05/0.1255, allocations: 20 kB / 353.5 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.421e-05/0.1256, allocations: 39.98 kB / 353.6 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.378e-05/0.1257, allocations: 47.83 kB / 353.6 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.1258, allocations: 123.4 kB / 353.7 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002928/0.1261, allocations: 279.3 kB / 354 MB, free: 280 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1261, allocations: 0 / 354 MB, free: 280 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1261, allocations: 4 kB / 354 MB, free: 276 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.1262, allocations: 0 / 354 MB, free: 276 kB / 286.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.0008711/0.127, allocations: 0.5286 MB / 354.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1271, allocations: 8.031 kB / 354.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.029e-05/0.1272, allocations: 28.66 kB / 354.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.1275, allocations: 235.9 kB / 354.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.1275, allocations: 20.75 kB / 354.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.318e-05/0.1276, allocations: 24.38 kB / 354.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004044/0.128, allocations: 191.6 kB / 355 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.128, allocations: 0 / 355 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/0.128, allocations: 12 kB / 355.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.128, allocations: 4 kB / 355.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003171/0.1284, allocations: 145.7 kB / 355.2 MB, free: 15 MB / 302.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.001472/0.1298, allocations: 0.945 MB / 356.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003492/0.1302, allocations: 154.6 kB / 356.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.1304, allocations: 92.83 kB / 356.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.1305, allocations: 3.984 kB / 356.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.1305, allocations: 42.56 kB / 356.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.673e-06/0.1305, allocations: 0 / 356.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001368/0.1319, allocations: 418 kB / 356.8 MB, free: 13.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.132, allocations: 51.41 kB / 356.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.1322, allocations: 179.1 kB / 357.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/0.1322, allocations: 33.7 kB / 357.1 MB, free: 12.92 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.1324, allocations: 152.1 kB / 357.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.552e-05/0.1324, allocations: 59.11 kB / 357.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.984e-05/0.1325, allocations: 37.7 kB / 357.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.1327, allocations: 334.8 kB / 357.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.1328, allocations: 47.98 kB / 357.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.133, allocations: 69.69 kB / 357.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.1332, allocations: 133.6 kB / 357.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.1333, allocations: 0 / 357.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000453/0.1337, allocations: 221.5 kB / 358.1 MB, free: 11.85 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.1338, allocations: 4 kB / 358.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.1338, allocations: 0 / 358.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001581/0.1354, allocations: 228.5 kB / 358.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.1355, allocations: 27.98 kB / 358.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00058/0.1361, allocations: 0.607 MB / 359 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.1363, allocations: 19.94 kB / 359 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.1363, allocations: 11.92 kB / 359 MB, free: 10.93 MB / 302.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.0001544/0.1365, allocations: 133.7 kB / 359.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.327e-05/0.1365, allocations: 19.81 kB / 359.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004683/0.137, allocations: 220.3 kB / 359.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.137, allocations: 7.984 kB / 359.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.137, allocations: 7.984 kB / 359.4 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.137, allocations: 0 / 359.4 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008887/0.1379, allocations: 0.5857 MB / 360 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1379, allocations: 0 / 360 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.1381, allocations: 31.92 kB / 360 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001177/0.1393, allocations: 208.5 kB / 360.2 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.1393, allocations: 8 kB / 360.2 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005526/0.1399, allocations: 0.6187 MB / 360.9 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1399, allocations: 0 / 360.9 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000904/0.1408, allocations: 424.8 kB / 361.3 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.002e-05/0.1409, allocations: 100.8 kB / 361.4 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.1409, allocations: 8.062 kB / 361.4 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.1411, allocations: 11.98 kB / 361.4 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.1412, allocations: 7.984 kB / 361.4 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.1412, allocations: 12 kB / 361.4 MB, free: 8.395 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001131/0.1413, allocations: 123.2 kB / 361.5 MB, free: 8.273 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1413, allocations: 4 kB / 361.5 MB, free: 8.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003526/0.1417, allocations: 55.84 kB / 361.6 MB, free: 8.215 MB / 302.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.0001994/0.1419, allocations: 123.1 kB / 361.7 MB, free: 8.082 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004453/0.1423, allocations: 154.5 kB / 361.9 MB, free: 7.934 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1423, allocations: 0 / 361.9 MB, free: 7.934 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001892/0.1425, allocations: 87.17 kB / 361.9 MB, free: 7.852 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.1429, allocations: 35.98 kB / 362 MB, free: 7.816 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.144, allocations: 0.6419 MB / 362.6 MB, free: 7.148 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.1444, allocations: 0.7361 MB / 363.4 MB, free: 6.387 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.873e-05/0.1445, allocations: 9.562 kB / 363.4 MB, free: 6.375 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.441e-05/0.1445, allocations: 15.42 kB / 363.4 MB, free: 6.359 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1445, allocations: 96 / 363.4 MB, free: 6.359 MB / 302.1 MB Notification: Performance of Templates: time 0.006184/0.1507, allocations: 2.513 MB / 365.9 MB, free: 3.875 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (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) 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) Reference file matches