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.001316/0.001316, allocations: 110.3 kB / 16.51 MB, free: 6.715 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.001394/0.001395, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.538/1.538, allocations: 222.9 MB / 241.1 MB, free: 13.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001051, allocations: 57.84 kB / 300 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1182, allocations: 49.44 MB / 349.4 MB, free: 4.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003883/0.1221, allocations: 2.554 MB / 351.9 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.1232, allocations: 0.6622 MB / 352.6 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.1233, allocations: 4 kB / 352.6 MB, free: 1.418 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.1235, allocations: 19.78 kB / 352.6 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.1236, allocations: 67.45 kB / 352.7 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.124, allocations: 75.83 kB / 352.8 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002657/0.1242, allocations: 270.8 kB / 353 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.1244, allocations: 75.72 kB / 353.1 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.1246, allocations: 95.64 kB / 353.2 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.1248, allocations: 115.5 kB / 353.3 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.731e-05/0.1248, allocations: 12 kB / 353.3 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.1249, allocations: 31.98 kB / 353.4 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.973e-05/0.125, allocations: 39.83 kB / 353.4 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.1251, allocations: 119.4 kB / 353.5 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003003/0.1254, allocations: 271.3 kB / 353.8 MB, free: 248 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1254, allocations: 0 / 353.8 MB, free: 248 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1254, allocations: 3.938 kB / 353.8 MB, free: 244 kB / 286.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1255, allocations: 0 / 353.8 MB, free: 244 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.0009972/0.1265, allocations: 0.5302 MB / 354.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/0.1265, allocations: 8.031 kB / 354.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.439e-05/0.1266, allocations: 28.66 kB / 354.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003187/0.1269, allocations: 239.9 kB / 354.6 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.127, allocations: 12.81 kB / 354.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.541e-05/0.127, allocations: 20.38 kB / 354.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004045/0.1274, allocations: 195.6 kB / 354.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.1275, allocations: 0 / 354.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.1275, allocations: 8 kB / 354.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.1275, allocations: 4 kB / 354.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003426/0.1279, allocations: 149.7 kB / 355 MB, free: 14.97 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.001531/0.1294, allocations: 0.9412 MB / 355.9 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003318/0.1297, allocations: 149.3 kB / 356.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.13, allocations: 92.83 kB / 356.1 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.13, allocations: 7.984 kB / 356.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.13, allocations: 38.56 kB / 356.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 3.176e-06/0.13, allocations: 0 / 356.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.00135/0.1314, allocations: 419.3 kB / 356.6 MB, free: 13.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.1314, allocations: 55.41 kB / 356.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.1316, allocations: 179.2 kB / 356.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.1317, allocations: 25.7 kB / 356.9 MB, free: 12.9 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.1318, allocations: 152.1 kB / 357 MB, free: 12.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.375e-05/0.1319, allocations: 59.09 kB / 357.1 MB, free: 12.69 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.658e-05/0.1319, allocations: 37.7 kB / 357.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1321, allocations: 334.8 kB / 357.4 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.1322, allocations: 51.92 kB / 357.5 MB, free: 12.26 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.1324, allocations: 69.69 kB / 357.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.1327, allocations: 132.1 kB / 357.7 MB, free: 12.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1327, allocations: 3.938 kB / 357.7 MB, free: 12.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004361/0.1331, allocations: 217 kB / 357.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.1331, allocations: 11.94 kB / 357.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.1332, allocations: 0 / 357.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001438/0.1346, allocations: 220.6 kB / 358.1 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.1348, allocations: 27.98 kB / 358.1 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005357/0.1353, allocations: 0.6108 MB / 358.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.1354, allocations: 15.94 kB / 358.8 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.1355, allocations: 19.98 kB / 358.8 MB, free: 10.9 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.0001532/0.1356, allocations: 129.8 kB / 358.9 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.516e-05/0.1357, allocations: 15.81 kB / 358.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004963/0.1362, allocations: 220.3 kB / 359.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.1362, allocations: 4 kB / 359.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.1363, allocations: 3.984 kB / 359.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1363, allocations: 4 kB / 359.2 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008546/0.1371, allocations: 0.5882 MB / 359.7 MB, free: 9.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1371, allocations: 0 / 359.7 MB, free: 9.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.1373, allocations: 31.86 kB / 359.8 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001096/0.1384, allocations: 216.6 kB / 360 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/0.1385, allocations: 4 kB / 360 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005826/0.1391, allocations: 0.6186 MB / 360.6 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1391, allocations: 0 / 360.6 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008213/0.1399, allocations: 420.9 kB / 361 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-05/0.14, allocations: 104.8 kB / 361.1 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.201e-05/0.14, allocations: 7.984 kB / 361.1 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.1402, allocations: 12.06 kB / 361.1 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.1402, allocations: 8.078 kB / 361.1 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.1402, allocations: 15.94 kB / 361.2 MB, free: 8.371 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001043/0.1404, allocations: 135.2 kB / 361.3 MB, free: 8.238 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1404, allocations: 0 / 361.3 MB, free: 8.238 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000316/0.1407, allocations: 55.84 kB / 361.4 MB, free: 8.184 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.000175/0.1409, allocations: 111.1 kB / 361.5 MB, free: 8.062 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000385/0.1413, allocations: 159 kB / 361.6 MB, free: 7.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1413, allocations: 0 / 361.6 MB, free: 7.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.1415, allocations: 79.95 kB / 361.7 MB, free: 7.832 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.1419, allocations: 23.94 kB / 361.7 MB, free: 7.809 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.143, allocations: 0.6443 MB / 362.4 MB, free: 7.137 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/0.1434, allocations: 0.7363 MB / 363.1 MB, free: 6.375 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.605e-05/0.1435, allocations: 21.53 kB / 363.1 MB, free: 6.352 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.1436, allocations: 11.44 kB / 363.1 MB, free: 6.34 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1436, allocations: 0 / 363.1 MB, free: 6.34 MB / 302.1 MB Notification: Performance of Templates: time 0.005811/0.1494, allocations: 2.386 MB / 365.5 MB, free: 3.977 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