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.001245/0.001245, allocations: 103.8 kB / 17.16 MB, free: 6.316 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.00135/0.00135, allocations: 190 kB / 18.07 MB, free: 5.414 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.485/1.485, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001712/0.001712, allocations: 51.92 kB / 280 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1121, allocations: 46.62 MB / 326.6 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003584/0.1157, allocations: 2.511 MB / 329.1 MB, free: 2.352 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.1169, allocations: 0.6673 MB / 329.8 MB, free: 1.68 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.117, allocations: 4 kB / 329.8 MB, free: 1.676 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.1172, allocations: 23.83 kB / 329.8 MB, free: 1.652 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.1173, allocations: 67.47 kB / 329.9 MB, free: 1.586 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.1175, allocations: 67.86 kB / 329.9 MB, free: 1.52 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002283/0.1178, allocations: 258.9 kB / 330.2 MB, free: 1.266 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.118, allocations: 72.78 kB / 330.3 MB, free: 1.195 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.1181, allocations: 103.5 kB / 330.4 MB, free: 1.094 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.1183, allocations: 107.5 kB / 330.5 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.189e-05/0.1183, allocations: 16 kB / 330.5 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.995e-05/0.1184, allocations: 24 kB / 330.5 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.45e-05/0.1185, allocations: 51.77 kB / 330.6 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.1186, allocations: 111.4 kB / 330.7 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.1188, allocations: 271.3 kB / 330.9 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1188, allocations: 0 / 330.9 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1188, allocations: 4 kB / 330.9 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1188, allocations: 0 / 330.9 MB, free: 0.5195 MB / 270.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.000851/0.1197, allocations: 0.5225 MB / 331.5 MB, free: 15.95 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1197, allocations: 8.031 kB / 331.5 MB, free: 15.94 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.613e-05/0.1198, allocations: 28.66 kB / 331.5 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.1201, allocations: 244.5 kB / 331.7 MB, free: 15.63 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.1201, allocations: 12.81 kB / 331.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.219e-05/0.1202, allocations: 24.38 kB / 331.8 MB, free: 15.6 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004087/0.1206, allocations: 187.2 kB / 331.9 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.1206, allocations: 0 / 331.9 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.1206, allocations: 12 kB / 332 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.1207, allocations: 7.984 kB / 332 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003117/0.121, allocations: 153.6 kB / 332.1 MB, free: 15.24 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.001387/0.1224, allocations: 0.9336 MB / 333.1 MB, free: 14.2 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003483/0.1227, allocations: 150.6 kB / 333.2 MB, free: 14.04 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.1229, allocations: 96.83 kB / 333.3 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.123, allocations: 7.922 kB / 333.3 MB, free: 13.94 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.123, allocations: 38.56 kB / 333.3 MB, free: 13.89 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.323e-06/0.123, allocations: 0 / 333.3 MB, free: 13.89 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001285/0.1243, allocations: 418.8 kB / 333.7 MB, free: 13.46 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.1244, allocations: 59.41 kB / 333.8 MB, free: 13.39 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.1246, allocations: 163.1 kB / 334 MB, free: 13.22 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.1246, allocations: 37.69 kB / 334 MB, free: 13.18 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.649e-05/0.1247, allocations: 144.1 kB / 334.1 MB, free: 13.03 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.135e-05/0.1248, allocations: 55.17 kB / 334.2 MB, free: 12.98 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.1249, allocations: 33.7 kB / 334.2 MB, free: 12.94 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.1251, allocations: 330.8 kB / 334.6 MB, free: 12.61 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.1252, allocations: 47.97 kB / 334.6 MB, free: 12.56 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.1254, allocations: 73.69 kB / 334.7 MB, free: 12.48 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/0.1256, allocations: 133.5 kB / 334.8 MB, free: 12.34 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1256, allocations: 0 / 334.8 MB, free: 12.34 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004313/0.1261, allocations: 218.3 kB / 335 MB, free: 12.12 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.1261, allocations: 11.97 kB / 335 MB, free: 12.11 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1261, allocations: 0 / 335 MB, free: 12.11 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00138/0.1275, allocations: 216.5 kB / 335.2 MB, free: 11.89 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.1277, allocations: 31.97 kB / 335.3 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005102/0.1282, allocations: 0.6147 MB / 335.9 MB, free: 11.22 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.1283, allocations: 19.81 kB / 335.9 MB, free: 11.2 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.1283, allocations: 4 kB / 335.9 MB, free: 11.2 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.0001598/0.1285, allocations: 137.8 kB / 336 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.467e-05/0.1286, allocations: 19.8 kB / 336.1 MB, free: 11.04 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004548/0.129, allocations: 232.2 kB / 336.3 MB, free: 10.8 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.129, allocations: 0 / 336.3 MB, free: 10.8 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1291, allocations: 0 / 336.3 MB, free: 10.8 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.1291, allocations: 4 kB / 336.3 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008545/0.1299, allocations: 0.5896 MB / 336.9 MB, free: 10.14 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.1299, allocations: 3.984 kB / 336.9 MB, free: 10.14 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.1301, allocations: 35.95 kB / 336.9 MB, free: 10.1 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001156/0.1313, allocations: 204.6 kB / 337.1 MB, free: 9.898 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.1313, allocations: 0 / 337.1 MB, free: 9.898 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005327/0.1318, allocations: 0.6225 MB / 337.7 MB, free: 9.25 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1318, allocations: 4.062 kB / 337.7 MB, free: 9.246 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008226/0.1327, allocations: 424.7 kB / 338.2 MB, free: 8.809 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.816e-05/0.1328, allocations: 96.95 kB / 338.3 MB, free: 8.695 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/0.1328, allocations: 8 kB / 338.3 MB, free: 8.688 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.133, allocations: 15.92 kB / 338.3 MB, free: 8.672 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.133, allocations: 11.98 kB / 338.3 MB, free: 8.66 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.133, allocations: 8 kB / 338.3 MB, free: 8.652 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.1331, allocations: 127.5 kB / 338.4 MB, free: 8.527 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1331, allocations: 0 / 338.4 MB, free: 8.527 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003179/0.1335, allocations: 59.84 kB / 338.5 MB, free: 8.469 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.0001922/0.1337, allocations: 115.2 kB / 338.6 MB, free: 8.348 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000421/0.1341, allocations: 144.3 kB / 338.7 MB, free: 8.207 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1341, allocations: 96 / 338.7 MB, free: 8.207 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001907/0.1343, allocations: 99.7 kB / 338.8 MB, free: 8.109 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.1347, allocations: 32.39 kB / 338.9 MB, free: 8.078 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.1358, allocations: 0.6248 MB / 339.5 MB, free: 7.426 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.1362, allocations: 0.7363 MB / 340.2 MB, free: 6.664 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.785e-05/0.1363, allocations: 13.55 kB / 340.2 MB, free: 6.652 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.1363, allocations: 11.44 kB / 340.2 MB, free: 6.641 MB / 286.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1363, allocations: 0 / 340.2 MB, free: 6.641 MB / 286.1 MB Notification: Performance of Templates: time 0.006208/0.1425, allocations: 2.379 MB / 342.6 MB, free: 4.27 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