Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.0008716/0.0008717, allocations: 97.45 kB / 17.3 MB, free: 6.395 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.0008475/0.0008476, allocations: 177.6 kB / 18.2 MB, free: 5.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005/0.0005004, allocations: 16.94 kB / 281.4 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1174, allocations: 47.58 MB / 329 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.00296/0.1204, allocations: 2.157 MB / 331.1 MB, free: 1.598 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.1216, allocations: 0.6634 MB / 331.8 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.1217, allocations: 4 kB / 331.8 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001336/0.1219, allocations: 27.77 kB / 331.8 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.122, allocations: 67.47 kB / 331.9 MB, free: 0.832 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.1223, allocations: 63.92 kB / 331.9 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.1226, allocations: 254.8 kB / 332.2 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.1228, allocations: 72.78 kB / 332.2 MB, free: 460 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.123, allocations: 99.52 kB / 332.3 MB, free: 360 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.1232, allocations: 107.5 kB / 332.5 MB, free: 252 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.958e-05/0.1232, allocations: 8 kB / 332.5 MB, free: 244 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.1233, allocations: 20 kB / 332.5 MB, free: 224 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.717e-05/0.1234, allocations: 43.83 kB / 332.5 MB, free: 180 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.1235, allocations: 129.1 kB / 332.6 MB, free: 44 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003133/0.1238, allocations: 267.3 kB / 332.9 MB, free: 15.78 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1238, allocations: 0 / 332.9 MB, free: 15.78 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1238, allocations: 4 kB / 332.9 MB, free: 15.78 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1239, allocations: 0 / 332.9 MB, free: 15.78 MB / 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.0007449/0.1246, allocations: 491.1 kB / 333.4 MB, free: 15.25 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.1247, allocations: 8.031 kB / 333.4 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.468e-05/0.1247, allocations: 32.64 kB / 333.4 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.125, allocations: 248.5 kB / 333.7 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.125, allocations: 16.81 kB / 333.7 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.56e-05/0.1251, allocations: 24.38 kB / 333.7 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003834/0.1255, allocations: 187.2 kB / 333.9 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.1255, allocations: 4 kB / 333.9 MB, free: 14.69 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/0.1256, allocations: 8 kB / 333.9 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.1256, allocations: 4 kB / 333.9 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003139/0.1259, allocations: 157.7 kB / 334.1 MB, free: 14.53 MB / 286.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.001326/0.1272, allocations: 0.9413 MB / 335 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003295/0.1276, allocations: 154.6 kB / 335.2 MB, free: 13.32 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.1278, allocations: 94.86 kB / 335.3 MB, free: 13.23 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.1278, allocations: 0 / 335.3 MB, free: 13.23 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.1278, allocations: 42.55 kB / 335.3 MB, free: 13.18 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.213e-06/0.1279, allocations: 0 / 335.3 MB, free: 13.18 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001246/0.1291, allocations: 439.3 kB / 335.7 MB, free: 12.72 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.1292, allocations: 55.41 kB / 335.8 MB, free: 12.65 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.1293, allocations: 163.1 kB / 335.9 MB, free: 12.48 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.1294, allocations: 37.64 kB / 336 MB, free: 12.44 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.427e-05/0.1294, allocations: 148.1 kB / 336.1 MB, free: 12.29 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.773e-05/0.1295, allocations: 63.09 kB / 336.2 MB, free: 12.23 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/0.1295, allocations: 17.72 kB / 336.2 MB, free: 12.21 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1297, allocations: 334.8 kB / 336.5 MB, free: 11.87 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.1298, allocations: 47.98 kB / 336.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.1299, allocations: 73.69 kB / 336.6 MB, free: 11.75 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.1302, allocations: 133.6 kB / 336.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1302, allocations: 0 / 336.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003987/0.1306, allocations: 226.2 kB / 337 MB, free: 11.38 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.1306, allocations: 4 kB / 337 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1306, allocations: 7.875 kB / 337 MB, free: 11.37 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/0.132, allocations: 220.6 kB / 337.2 MB, free: 11.15 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.1322, allocations: 31.98 kB / 337.3 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004769/0.1327, allocations: 0.6186 MB / 337.9 MB, free: 10.47 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.1328, allocations: 11.91 kB / 337.9 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.1328, allocations: 7.984 kB / 337.9 MB, free: 10.45 MB / 286.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.0001285/0.133, allocations: 133.8 kB / 338 MB, free: 10.31 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/0.133, allocations: 15.81 kB / 338 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004587/0.1335, allocations: 236.2 kB / 338.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1335, allocations: 0 / 338.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.1335, allocations: 3.984 kB / 338.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.1335, allocations: 4 kB / 338.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008606/0.1344, allocations: 0.5963 MB / 338.9 MB, free: 9.391 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.1344, allocations: 3.938 kB / 338.9 MB, free: 9.387 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.1345, allocations: 31.92 kB / 338.9 MB, free: 9.355 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001063/0.1356, allocations: 224.6 kB / 339.1 MB, free: 9.133 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.1356, allocations: 0 / 339.1 MB, free: 9.133 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004205/0.1361, allocations: 0.6225 MB / 339.7 MB, free: 8.484 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1361, allocations: 96 / 339.7 MB, free: 8.484 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007666/0.1369, allocations: 441.1 kB / 340.2 MB, free: 8.031 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.003e-05/0.1369, allocations: 96.89 kB / 340.3 MB, free: 7.918 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.137, allocations: 7.984 kB / 340.3 MB, free: 7.91 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.1371, allocations: 12 kB / 340.3 MB, free: 7.898 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.1372, allocations: 11.98 kB / 340.3 MB, free: 7.887 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.1372, allocations: 4 kB / 340.3 MB, free: 7.883 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000113/0.1373, allocations: 131.5 kB / 340.4 MB, free: 7.754 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1373, allocations: 3.938 kB / 340.4 MB, free: 7.75 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003242/0.1376, allocations: 63.91 kB / 340.5 MB, free: 7.688 MB / 286.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.0002069/0.1379, allocations: 103.2 kB / 340.6 MB, free: 7.578 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003982/0.1383, allocations: 160 kB / 340.8 MB, free: 7.422 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1383, allocations: 0 / 340.8 MB, free: 7.422 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.1385, allocations: 88.03 kB / 340.8 MB, free: 7.336 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.1389, allocations: 27.92 kB / 340.9 MB, free: 7.309 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.14, allocations: 0.6986 MB / 341.6 MB, free: 6.582 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.1403, allocations: 0.7402 MB / 342.3 MB, free: 5.816 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.05e-05/0.1404, allocations: 5.562 kB / 342.3 MB, free: 5.809 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.573e-05/0.1404, allocations: 19.42 kB / 342.3 MB, free: 5.789 MB / 286.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1404, allocations: 4 kB / 342.3 MB, free: 5.785 MB / 286.1 MB Notification: Performance of Templates: time 0.005715/0.1461, allocations: 2.358 MB / 344.7 MB, free: 3.438 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches