Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001126/0.001126, allocations: 97 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001094/0.001094, allocations: 206 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002112/0.0002112, allocations: 4 kB / 306.6 MB, free: 1.418 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1108, allocations: 51.49 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002936/0.1138, allocations: 2.042 MB / 360.1 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.1151, allocations: 0.6666 MB / 360.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.1153, allocations: 4 kB / 360.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.395e-05/0.1154, allocations: 27.83 kB / 360.8 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.1156, allocations: 71.77 kB / 360.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003285/0.116, allocations: 67.8 kB / 360.9 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003158/0.1163, allocations: 195.6 kB / 361.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000244/0.1166, allocations: 72.52 kB / 361.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.1168, allocations: 91.7 kB / 361.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.117, allocations: 99.53 kB / 361.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.867e-05/0.117, allocations: 12 kB / 361.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.1171, allocations: 31.92 kB / 361.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.393e-05/0.1172, allocations: 39.83 kB / 361.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.056e-05/0.1173, allocations: 69.58 kB / 361.5 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.1176, allocations: 211.7 kB / 361.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1176, allocations: 0 / 361.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.1176, allocations: 0 / 361.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.1176, allocations: 0 / 361.7 MB, free: 10.21 MB / 302.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.001004/0.1186, allocations: 0.4975 MB / 362.2 MB, free: 9.672 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.1187, allocations: 8.031 kB / 362.2 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002257/0.1189, allocations: 39.7 kB / 362.3 MB, free: 9.625 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/0.1193, allocations: 226.8 kB / 362.5 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.1193, allocations: 16.44 kB / 362.5 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.738e-05/0.1194, allocations: 23.95 kB / 362.5 MB, free: 9.324 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003766/0.1198, allocations: 195.2 kB / 362.7 MB, free: 9.125 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.1198, allocations: 0 / 362.7 MB, free: 9.125 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.1198, allocations: 12 kB / 362.7 MB, free: 9.113 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.1198, allocations: 4 kB / 362.7 MB, free: 9.109 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003158/0.1201, allocations: 149.7 kB / 362.9 MB, free: 8.961 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.001401/0.1216, allocations: 0.9375 MB / 363.8 MB, free: 7.914 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/0.1219, allocations: 158.5 kB / 364 MB, free: 7.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.1219, allocations: 320 / 364 MB, free: 7.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.1219, allocations: 38.56 kB / 364 MB, free: 7.703 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.072e-06/0.1219, allocations: 0 / 364 MB, free: 7.703 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001274/0.1232, allocations: 423.1 kB / 364.4 MB, free: 7.262 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.1233, allocations: 51.41 kB / 364.5 MB, free: 7.199 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.1235, allocations: 179.2 kB / 364.7 MB, free: 7.012 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.1235, allocations: 41.58 kB / 364.7 MB, free: 6.965 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.1236, allocations: 152 kB / 364.9 MB, free: 6.812 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.568e-05/0.1237, allocations: 63.09 kB / 364.9 MB, free: 6.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.082e-05/0.1237, allocations: 4 kB / 364.9 MB, free: 6.746 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1238, allocations: 322.8 kB / 365.2 MB, free: 6.422 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.1239, allocations: 56.34 kB / 365.3 MB, free: 6.367 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.1241, allocations: 76.69 kB / 365.4 MB, free: 6.289 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.1242, allocations: 63.89 kB / 365.4 MB, free: 6.227 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1242, allocations: 0 / 365.4 MB, free: 6.227 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004688/0.1247, allocations: 230.2 kB / 365.7 MB, free: 5.992 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1247, allocations: 14.38 kB / 365.7 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1247, allocations: 0 / 365.7 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001301/0.126, allocations: 224.6 kB / 365.9 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.1262, allocations: 31.97 kB / 365.9 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005228/0.1267, allocations: 0.6109 MB / 366.5 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.1269, allocations: 19.88 kB / 366.5 MB, free: 5.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.1269, allocations: 4 kB / 366.5 MB, free: 5.066 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001241/0.127, allocations: 129.8 kB / 366.7 MB, free: 4.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.115e-05/0.1271, allocations: 19.88 kB / 366.7 MB, free: 4.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004527/0.1275, allocations: 234.7 kB / 366.9 MB, free: 4.672 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.1276, allocations: 4 kB / 366.9 MB, free: 4.668 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1276, allocations: 0 / 366.9 MB, free: 4.668 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.1276, allocations: 7.938 kB / 366.9 MB, free: 4.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003025/0.1279, allocations: 281.5 kB / 367.2 MB, free: 4.336 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1279, allocations: 4 kB / 367.2 MB, free: 4.332 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.1281, allocations: 31.97 kB / 367.2 MB, free: 4.301 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001064/0.1291, allocations: 216.5 kB / 367.5 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.1292, allocations: 4 kB / 367.5 MB, free: 4.082 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000416/0.1296, allocations: 0.6264 MB / 368.1 MB, free: 3.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1296, allocations: 96 / 368.1 MB, free: 3.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005045/0.1301, allocations: 388.4 kB / 368.5 MB, free: 3.031 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.444e-05/0.1302, allocations: 92.89 kB / 368.6 MB, free: 2.922 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.1302, allocations: 20.06 kB / 368.6 MB, free: 2.902 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.1304, allocations: 23.84 kB / 368.6 MB, free: 2.879 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.1304, allocations: 7.984 kB / 368.6 MB, free: 2.871 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.1304, allocations: 4 kB / 368.6 MB, free: 2.867 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.296e-05/0.1305, allocations: 131.2 kB / 368.7 MB, free: 2.738 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1305, allocations: 0 / 368.7 MB, free: 2.738 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002999/0.1308, allocations: 59.84 kB / 368.8 MB, free: 2.68 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001535/0.131, allocations: 103.2 kB / 368.9 MB, free: 2.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003748/0.1314, allocations: 157.9 kB / 369.1 MB, free: 2.418 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1314, allocations: 0 / 369.1 MB, free: 2.418 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.1316, allocations: 79.97 kB / 369.1 MB, free: 2.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.1318, allocations: 32.17 kB / 369.2 MB, free: 2.309 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009693/0.1328, allocations: 0.6707 MB / 369.8 MB, free: 1.613 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.1331, allocations: 0.7519 MB / 370.6 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.616e-05/0.1332, allocations: 5.562 kB / 370.6 MB, free: 0.832 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.806e-05/0.1332, allocations: 19.38 kB / 370.6 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1332, allocations: 0 / 370.6 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of Templates: time 0.2008/0.3341, allocations: 2.284 MB / 372.9 MB, free: 19.38 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches