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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001297/0.001297, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001176/0.001176, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 64.84 kB / 307.1 MB, free: 0.5273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1022, allocations: 50.52 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004306/0.1065, allocations: 2.535 MB / 360.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.1079, allocations: 0.6973 MB / 360.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002459/0.1082, allocations: 4 kB / 360.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.1084, allocations: 31.64 kB / 360.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.1086, allocations: 83.33 kB / 360.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004197/0.109, allocations: 95.7 kB / 361 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003918/0.1094, allocations: 278.8 kB / 361.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002837/0.1097, allocations: 92.31 kB / 361.4 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002718/0.11, allocations: 115.6 kB / 361.5 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.1102, allocations: 111.5 kB / 361.6 MB, free: 9.949 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.422e-05/0.1103, allocations: 24 kB / 361.6 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.1104, allocations: 39.98 kB / 361.7 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.809e-05/0.1104, allocations: 47.83 kB / 361.7 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.1106, allocations: 131.4 kB / 361.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003269/0.1109, allocations: 279.3 kB / 362.1 MB, free: 9.438 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1109, allocations: 0 / 362.1 MB, free: 9.438 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1109, allocations: 0 / 362.1 MB, free: 9.438 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.111, allocations: 8 kB / 362.1 MB, free: 9.43 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.0008587/0.1118, allocations: 0.5302 MB / 362.7 MB, free: 8.852 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.1119, allocations: 8.031 kB / 362.7 MB, free: 8.844 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001103/0.112, allocations: 54.73 kB / 362.7 MB, free: 8.781 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001939/0.1122, allocations: 44.58 kB / 362.8 MB, free: 8.738 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.1125, allocations: 247.7 kB / 363 MB, free: 8.457 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.1125, allocations: 16.81 kB / 363 MB, free: 8.438 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.058e-05/0.1125, allocations: 20.38 kB / 363 MB, free: 8.418 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/0.1129, allocations: 191.4 kB / 363.2 MB, free: 8.227 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1129, allocations: 0 / 363.2 MB, free: 8.227 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.1129, allocations: 12 kB / 363.2 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1129, allocations: 8 kB / 363.2 MB, free: 8.207 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002916/0.1132, allocations: 145.7 kB / 363.4 MB, free: 8.062 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.001302/0.1145, allocations: 0.9374 MB / 364.3 MB, free: 7.016 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.1149, allocations: 154.6 kB / 364.5 MB, free: 6.855 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.1151, allocations: 100.8 kB / 364.6 MB, free: 6.754 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.1151, allocations: 0 / 364.6 MB, free: 6.754 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.1152, allocations: 42.55 kB / 364.6 MB, free: 6.703 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.432e-06/0.1152, allocations: 3.938 kB / 364.6 MB, free: 6.699 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001249/0.1164, allocations: 422.3 kB / 365 MB, free: 6.262 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.1165, allocations: 51.41 kB / 365.1 MB, free: 6.199 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.1166, allocations: 180.3 kB / 365.3 MB, free: 6.016 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.1166, allocations: 29.7 kB / 365.3 MB, free: 5.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.069e-05/0.1167, allocations: 152.1 kB / 365.4 MB, free: 5.828 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.25e-05/0.1168, allocations: 51.2 kB / 365.5 MB, free: 5.777 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-05/0.1168, allocations: 41.61 kB / 365.5 MB, free: 5.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.117, allocations: 334.8 kB / 365.9 MB, free: 5.395 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.1171, allocations: 51.98 kB / 365.9 MB, free: 5.344 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.1172, allocations: 73.25 kB / 366 MB, free: 5.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.1174, allocations: 128.1 kB / 366.1 MB, free: 5.141 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1174, allocations: 3.938 kB / 366.1 MB, free: 5.137 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003918/0.1178, allocations: 218.2 kB / 366.3 MB, free: 4.914 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1179, allocations: 8 kB / 366.3 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1179, allocations: 3.938 kB / 366.3 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001316/0.1192, allocations: 212.6 kB / 366.5 MB, free: 4.691 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.1194, allocations: 31.98 kB / 366.6 MB, free: 4.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004693/0.1198, allocations: 0.6109 MB / 367.2 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.12, allocations: 15.88 kB / 367.2 MB, free: 4.008 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.12, allocations: 11.97 kB / 367.2 MB, free: 3.996 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.0001503/0.1202, allocations: 142.8 kB / 367.3 MB, free: 3.848 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.72e-05/0.1202, allocations: 15.88 kB / 367.4 MB, free: 3.832 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004541/0.1207, allocations: 230.8 kB / 367.6 MB, free: 3.598 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.1207, allocations: 7.984 kB / 367.6 MB, free: 3.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1207, allocations: 0 / 367.6 MB, free: 3.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.1207, allocations: 0 / 367.6 MB, free: 3.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008806/0.1216, allocations: 0.5974 MB / 368.2 MB, free: 2.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.1216, allocations: 3.938 kB / 368.2 MB, free: 2.926 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.1218, allocations: 31.92 kB / 368.2 MB, free: 2.895 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001067/0.1229, allocations: 196.7 kB / 368.4 MB, free: 2.699 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.1229, allocations: 8 kB / 368.4 MB, free: 2.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004241/0.1233, allocations: 0.6225 MB / 369 MB, free: 2.043 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1233, allocations: 4 kB / 369.1 MB, free: 2.039 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000795/0.1241, allocations: 432.7 kB / 369.5 MB, free: 1.594 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.728e-05/0.1242, allocations: 88.95 kB / 369.6 MB, free: 1.488 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.1242, allocations: 8 kB / 369.6 MB, free: 1.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.1244, allocations: 7.984 kB / 369.6 MB, free: 1.473 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.1245, allocations: 11.98 kB / 369.6 MB, free: 1.461 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.1245, allocations: 8 kB / 369.6 MB, free: 1.453 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.1246, allocations: 136.1 kB / 369.7 MB, free: 1.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1246, allocations: 0 / 369.7 MB, free: 1.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003193/0.1249, allocations: 55.84 kB / 369.8 MB, free: 1.266 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.001102/0.126, allocations: 0.9548 MB / 370.7 MB, free: 288 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003921/0.1264, allocations: 158 kB / 370.9 MB, free: 132 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1265, allocations: 0 / 370.9 MB, free: 132 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.1266, allocations: 91.98 kB / 371 MB, free: 40 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.127, allocations: 28.02 kB / 371 MB, free: 12 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1545/0.2815, allocations: 2.315 MB / 373.3 MB, free: 19.2 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.2818, allocations: 0.7399 MB / 374.1 MB, free: 18.5 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.829e-05/0.2819, allocations: 10.31 kB / 374.1 MB, free: 18.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.339e-05/0.2819, allocations: 63.95 kB / 374.1 MB, free: 18.49 MB / 302.1 MB Notification: Performance of SimCode: time 1.202e-06/0.282, allocations: 0 / 374.1 MB, free: 18.49 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03561/0.3176, allocations: 4.681 MB / 378.8 MB, free: 17.92 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.24, allocations: 17.3 kB / 378.8 MB, free: 17.91 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingRectifier_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingRectifier.fmu > 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