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.001497/0.001497, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00168/0.00168, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 61.09 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1071, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004192/0.1114, allocations: 2.537 MB / 361.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.1127, allocations: 0.7011 MB / 362.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.1128, allocations: 4 kB / 362.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.113, allocations: 35.64 kB / 362.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.1132, allocations: 79.28 kB / 362.2 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.1136, allocations: 95.81 kB / 362.3 MB, free: 9.891 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003187/0.1139, allocations: 274.8 kB / 362.6 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.1141, allocations: 92.34 kB / 362.7 MB, free: 9.527 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002176/0.1144, allocations: 111.5 kB / 362.8 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.1146, allocations: 123.5 kB / 362.9 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.052e-05/0.1146, allocations: 24 kB / 363 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.1147, allocations: 43.98 kB / 363 MB, free: 9.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.154e-05/0.1148, allocations: 43.84 kB / 363 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.1149, allocations: 131.3 kB / 363.2 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003154/0.1152, allocations: 283 kB / 363.4 MB, free: 8.781 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1153, allocations: 4 kB / 363.4 MB, free: 8.777 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1153, allocations: 0 / 363.4 MB, free: 8.777 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.677e-06/0.1153, allocations: 3.938 kB / 363.5 MB, free: 8.773 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.0008819/0.1162, allocations: 0.5379 MB / 364 MB, free: 8.188 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.1162, allocations: 12.03 kB / 364 MB, free: 8.176 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.1164, allocations: 32.66 kB / 364 MB, free: 8.145 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.1167, allocations: 247.8 kB / 364.3 MB, free: 7.863 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.1168, allocations: 16.81 kB / 364.3 MB, free: 7.844 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.151e-05/0.1168, allocations: 16.38 kB / 364.3 MB, free: 7.828 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003499/0.1172, allocations: 199.6 kB / 364.5 MB, free: 7.629 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.1172, allocations: 3.938 kB / 364.5 MB, free: 7.625 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.1172, allocations: 4 kB / 364.5 MB, free: 7.621 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.1172, allocations: 12 kB / 364.5 MB, free: 7.609 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003459/0.1176, allocations: 149.7 kB / 364.7 MB, free: 7.461 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.001372/0.1189, allocations: 0.918 MB / 365.6 MB, free: 6.434 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003094/0.1193, allocations: 154.5 kB / 365.7 MB, free: 6.273 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/0.1195, allocations: 96.83 kB / 365.8 MB, free: 6.176 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.1195, allocations: 0 / 365.8 MB, free: 6.176 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.1196, allocations: 38.56 kB / 365.9 MB, free: 6.129 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 2.595e-06/0.1196, allocations: 3.984 kB / 365.9 MB, free: 6.125 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001233/0.1208, allocations: 419.3 kB / 366.3 MB, free: 5.688 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.1208, allocations: 55.41 kB / 366.3 MB, free: 5.621 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.121, allocations: 184.2 kB / 366.5 MB, free: 5.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.1211, allocations: 29.7 kB / 366.5 MB, free: 5.395 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.1212, allocations: 152.1 kB / 366.7 MB, free: 5.242 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/0.1212, allocations: 55.19 kB / 366.7 MB, free: 5.188 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.333e-05/0.1213, allocations: 37.7 kB / 366.8 MB, free: 5.145 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1215, allocations: 334.8 kB / 367.1 MB, free: 4.809 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.1216, allocations: 47.98 kB / 367.2 MB, free: 4.762 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.1217, allocations: 73.25 kB / 367.2 MB, free: 4.688 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.122, allocations: 139.9 kB / 367.4 MB, free: 4.547 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.122, allocations: 0 / 367.4 MB, free: 4.547 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003888/0.1224, allocations: 218.1 kB / 367.6 MB, free: 4.324 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.1224, allocations: 10.81 kB / 367.6 MB, free: 4.316 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.1224, allocations: 0 / 367.6 MB, free: 4.316 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001367/0.1238, allocations: 220.6 kB / 367.8 MB, free: 4.098 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.124, allocations: 31.98 kB / 367.8 MB, free: 4.066 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005363/0.1245, allocations: 0.6069 MB / 368.4 MB, free: 3.434 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.1246, allocations: 15.91 kB / 368.5 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.1247, allocations: 20.05 kB / 368.5 MB, free: 3.398 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.000144/0.1248, allocations: 133.7 kB / 368.6 MB, free: 3.258 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/0.1249, allocations: 15.81 kB / 368.6 MB, free: 3.242 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005048/0.1254, allocations: 231.2 kB / 368.9 MB, free: 3.008 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.1254, allocations: 4 kB / 368.9 MB, free: 3.004 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1254, allocations: 0 / 368.9 MB, free: 3.004 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1254, allocations: 3.984 kB / 368.9 MB, free: 3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009667/0.1264, allocations: 0.5935 MB / 369.5 MB, free: 2.344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1264, allocations: 0 / 369.5 MB, free: 2.344 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.1266, allocations: 27.92 kB / 369.5 MB, free: 2.316 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001067/0.1276, allocations: 212.6 kB / 369.7 MB, free: 2.105 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.1277, allocations: 0 / 369.7 MB, free: 2.105 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005309/0.1282, allocations: 0.6186 MB / 370.3 MB, free: 1.461 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1282, allocations: 0 / 370.3 MB, free: 1.461 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00084/0.1291, allocations: 428.8 kB / 370.7 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.726e-05/0.1291, allocations: 104.8 kB / 370.8 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.1292, allocations: 0 / 370.8 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.1294, allocations: 8 kB / 370.8 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.379e-05/0.1294, allocations: 15.97 kB / 370.9 MB, free: 0.875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.1295, allocations: 12.06 kB / 370.9 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001228/0.1296, allocations: 128.1 kB / 371 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1296, allocations: 0 / 371 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003331/0.1299, allocations: 55.84 kB / 371 MB, free: 0.6836 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.0002205/0.1302, allocations: 107.2 kB / 371.1 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004071/0.1306, allocations: 143.8 kB / 371.3 MB, free: 440 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1306, allocations: 4.062 kB / 371.3 MB, free: 436 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.1308, allocations: 87.89 kB / 371.4 MB, free: 348 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.1312, allocations: 35.95 kB / 371.4 MB, free: 312 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2132/0.3444, allocations: 0.5457 MB / 372 MB, free: 21.08 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.3447, allocations: 0.7383 MB / 372.7 MB, free: 20.38 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000109/0.3448, allocations: 11.97 kB / 372.7 MB, free: 20.38 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.189e-05/0.3449, allocations: 14.22 kB / 372.7 MB, free: 20.38 MB / 302.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3449, allocations: 0 / 372.7 MB, free: 20.38 MB / 302.1 MB Notification: Performance of Templates: time 0.009612/0.3545, allocations: 2.554 MB / 375.3 MB, free: 20.32 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches