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.0011/0.0011, allocations: 117 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.001223/0.001223, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.72 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1045, 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.004056/0.1086, allocations: 2.529 MB / 361.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.1101, allocations: 0.7011 MB / 362.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00021/0.1103, allocations: 4 kB / 362.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002108/0.1106, allocations: 39.64 kB / 362.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002289/0.1108, allocations: 75.27 kB / 362.2 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003675/0.1112, allocations: 91.81 kB / 362.3 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003582/0.1116, allocations: 278.8 kB / 362.6 MB, free: 9.629 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.1118, allocations: 88.33 kB / 362.7 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002379/0.112, allocations: 119.5 kB / 362.8 MB, free: 9.422 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.1122, allocations: 119.5 kB / 362.9 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.1123, allocations: 24 kB / 363 MB, free: 9.281 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.1124, allocations: 43.98 kB / 363 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.771e-05/0.1124, allocations: 51.84 kB / 363 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.1126, allocations: 127.3 kB / 363.2 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003132/0.1129, allocations: 283 kB / 363.4 MB, free: 8.785 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1129, allocations: 0 / 363.4 MB, free: 8.785 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1129, allocations: 3.938 kB / 363.4 MB, free: 8.781 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.1129, allocations: 3.938 kB / 363.5 MB, free: 8.777 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.0008821/0.1138, allocations: 0.5341 MB / 364 MB, free: 8.195 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.1139, allocations: 8.031 kB / 364 MB, free: 8.188 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001986/0.1141, allocations: 36.64 kB / 364 MB, free: 8.152 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004295/0.1145, allocations: 251.8 kB / 364.3 MB, free: 7.867 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.1145, allocations: 12.81 kB / 364.3 MB, free: 7.852 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.568e-05/0.1146, allocations: 24.38 kB / 364.3 MB, free: 7.828 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003912/0.115, allocations: 191.6 kB / 364.5 MB, free: 7.637 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.115, allocations: 8 kB / 364.5 MB, free: 7.629 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.1151, allocations: 11.94 kB / 364.5 MB, free: 7.617 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1151, allocations: 4 kB / 364.5 MB, free: 7.613 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003168/0.1154, allocations: 149.7 kB / 364.7 MB, free: 7.465 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.00138/0.1168, allocations: 0.918 MB / 365.6 MB, free: 6.438 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.1171, allocations: 158.5 kB / 365.7 MB, free: 6.273 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.1173, allocations: 96.83 kB / 365.8 MB, free: 6.176 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.1174, allocations: 3.984 kB / 365.8 MB, free: 6.172 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.867e-05/0.1174, allocations: 38.56 kB / 365.9 MB, free: 6.125 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.393e-06/0.1174, allocations: 0 / 365.9 MB, free: 6.125 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001289/0.1187, allocations: 426.2 kB / 366.3 MB, free: 5.684 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.1188, allocations: 55.39 kB / 366.3 MB, free: 5.617 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.119, allocations: 180.3 kB / 366.5 MB, free: 5.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.119, allocations: 29.7 kB / 366.6 MB, free: 5.395 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.694e-05/0.1191, allocations: 152.1 kB / 366.7 MB, free: 5.242 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.301e-05/0.1191, allocations: 55.2 kB / 366.8 MB, free: 5.188 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.281e-05/0.1192, allocations: 33.7 kB / 366.8 MB, free: 5.148 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1193, allocations: 330.8 kB / 367.1 MB, free: 4.816 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.1195, allocations: 55.97 kB / 367.2 MB, free: 4.762 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.1196, allocations: 69.25 kB / 367.2 MB, free: 4.691 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/0.1199, allocations: 135.9 kB / 367.4 MB, free: 4.555 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1199, allocations: 0 / 367.4 MB, free: 4.555 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004015/0.1203, allocations: 226.2 kB / 367.6 MB, free: 4.324 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1203, allocations: 4 kB / 367.6 MB, free: 4.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1203, allocations: 4 kB / 367.6 MB, free: 4.316 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/0.1217, allocations: 212.5 kB / 367.8 MB, free: 4.105 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.1218, allocations: 35.97 kB / 367.8 MB, free: 4.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004788/0.1223, allocations: 0.6147 MB / 368.5 MB, free: 3.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.1225, allocations: 11.91 kB / 368.5 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.1225, allocations: 8 kB / 368.5 MB, free: 3.41 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.0001266/0.1226, allocations: 133.7 kB / 368.6 MB, free: 3.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.1227, allocations: 19.81 kB / 368.6 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004612/0.1231, allocations: 239.3 kB / 368.9 MB, free: 3.008 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1232, allocations: 4 kB / 368.9 MB, free: 3.004 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1232, allocations: 0 / 368.9 MB, free: 3.004 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1232, allocations: 0 / 368.9 MB, free: 3.004 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000858/0.124, allocations: 0.5935 MB / 369.5 MB, free: 2.348 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1241, allocations: 8.031 kB / 369.5 MB, free: 2.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.1242, allocations: 27.92 kB / 369.5 MB, free: 2.312 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001059/0.1253, allocations: 196.6 kB / 369.7 MB, free: 2.117 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.1253, allocations: 8 kB / 369.7 MB, free: 2.109 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004568/0.1258, allocations: 0.6187 MB / 370.3 MB, free: 1.465 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1258, allocations: 8.062 kB / 370.3 MB, free: 1.457 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007887/0.1266, allocations: 420.7 kB / 370.7 MB, free: 1.023 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.798e-05/0.1267, allocations: 104.8 kB / 370.8 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.1267, allocations: 8 kB / 370.8 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.1268, allocations: 4 kB / 370.8 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.1269, allocations: 11.98 kB / 370.9 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.1269, allocations: 4 kB / 370.9 MB, free: 0.875 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.127, allocations: 136.1 kB / 371 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.127, allocations: 0 / 371 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002927/0.1273, allocations: 55.84 kB / 371 MB, free: 0.6875 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.0001488/0.1275, allocations: 111.2 kB / 371.2 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003975/0.1279, allocations: 147.9 kB / 371.3 MB, free: 436 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1279, allocations: 0 / 371.3 MB, free: 436 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.1281, allocations: 83.89 kB / 371.4 MB, free: 352 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.1284, allocations: 36.08 kB / 371.4 MB, free: 316 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1552/0.2836, allocations: 0.5409 MB / 372 MB, free: 20.44 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.2839, allocations: 0.7389 MB / 372.7 MB, free: 19.74 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.633e-05/0.284, allocations: 13.58 kB / 372.7 MB, free: 19.74 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.032e-05/0.284, allocations: 14.06 kB / 372.7 MB, free: 19.73 MB / 302.1 MB Notification: Performance of SimCode: time 1.132e-06/0.284, allocations: 0 / 372.7 MB, free: 19.73 MB / 302.1 MB Notification: Performance of Templates: time 0.007209/0.2912, allocations: 2.544 MB / 375.3 MB, free: 19.69 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 gbode -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