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.001368/0.001368, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001198/0.001198, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 60.7 kB / 306.4 MB, free: 0.9531 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09145/0.09284, allocations: 50.53 MB / 356.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004071/0.09694, allocations: 2.582 MB / 359.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.09826, allocations: 0.6973 MB / 360.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.09845, allocations: 7.938 kB / 360.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.09864, allocations: 23.83 kB / 360.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.09881, allocations: 63.45 kB / 360.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.09912, allocations: 87.86 kB / 360.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003125/0.09945, allocations: 262.8 kB / 360.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.09965, allocations: 72.77 kB / 360.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.09989, allocations: 103.6 kB / 360.8 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.1001, allocations: 111.5 kB / 360.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.055e-05/0.1001, allocations: 23.92 kB / 360.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.1002, allocations: 28 kB / 360.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.575e-05/0.1003, allocations: 47.83 kB / 361 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.1004, allocations: 111.4 kB / 361.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.1007, allocations: 283.3 kB / 361.4 MB, free: 9.898 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1007, allocations: 0 / 361.4 MB, free: 9.898 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1007, allocations: 0 / 361.4 MB, free: 9.898 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.1007, allocations: 0 / 361.4 MB, free: 9.898 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.0007936/0.1015, allocations: 0.5285 MB / 361.9 MB, free: 9.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.1016, allocations: 12.03 kB / 361.9 MB, free: 9.309 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.061e-05/0.1016, allocations: 54.67 kB / 362 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.1018, allocations: 36.64 kB / 362 MB, free: 9.211 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.1021, allocations: 255.7 kB / 362.2 MB, free: 8.922 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.1021, allocations: 12.81 kB / 362.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.605e-05/0.1021, allocations: 24.38 kB / 362.3 MB, free: 8.887 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003428/0.1025, allocations: 187.4 kB / 362.5 MB, free: 8.695 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1025, allocations: 0 / 362.5 MB, free: 8.695 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.1026, allocations: 12 kB / 362.5 MB, free: 8.684 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1026, allocations: 7.984 kB / 362.5 MB, free: 8.676 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003043/0.1029, allocations: 153.7 kB / 362.6 MB, free: 8.527 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.001282/0.1042, allocations: 0.9335 MB / 363.6 MB, free: 7.484 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.1045, allocations: 146.5 kB / 363.7 MB, free: 7.332 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/0.1047, allocations: 100.8 kB / 363.8 MB, free: 7.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.1047, allocations: 4 kB / 363.8 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.1047, allocations: 38.56 kB / 363.8 MB, free: 7.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.1047, allocations: 0 / 363.8 MB, free: 7.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0012/0.1059, allocations: 415.4 kB / 364.3 MB, free: 6.746 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.106, allocations: 59.34 kB / 364.3 MB, free: 6.676 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.1061, allocations: 180.3 kB / 364.5 MB, free: 6.492 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.1062, allocations: 29.7 kB / 364.5 MB, free: 6.457 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.68e-05/0.1063, allocations: 152.1 kB / 364.7 MB, free: 6.305 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.1063, allocations: 59.19 kB / 364.7 MB, free: 6.246 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.437e-05/0.1064, allocations: 37.61 kB / 364.8 MB, free: 6.203 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.788e-05/0.1065, allocations: 330.8 kB / 365.1 MB, free: 5.871 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.1066, allocations: 43.98 kB / 365.1 MB, free: 5.828 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.1067, allocations: 77.23 kB / 365.2 MB, free: 5.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/0.107, allocations: 125.7 kB / 365.3 MB, free: 5.621 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.107, allocations: 4 kB / 365.3 MB, free: 5.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003877/0.1074, allocations: 221.3 kB / 365.5 MB, free: 5.395 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1074, allocations: 6.812 kB / 365.5 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1074, allocations: 3.938 kB / 365.6 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/0.1088, allocations: 228.5 kB / 365.8 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.1089, allocations: 35.92 kB / 365.8 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004349/0.1094, allocations: 0.6069 MB / 366.4 MB, free: 4.492 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.1095, allocations: 19.89 kB / 366.4 MB, free: 4.473 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.1095, allocations: 8 kB / 366.4 MB, free: 4.465 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.0001286/0.1097, allocations: 134.8 kB / 366.6 MB, free: 4.324 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.735e-05/0.1097, allocations: 19.8 kB / 366.6 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000437/0.1102, allocations: 232.2 kB / 366.8 MB, free: 4.066 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1102, allocations: 0 / 366.8 MB, free: 4.066 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1102, allocations: 4 kB / 366.8 MB, free: 4.062 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.1102, allocations: 4 kB / 366.8 MB, free: 4.059 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008363/0.111, allocations: 0.5858 MB / 367.4 MB, free: 3.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.1111, allocations: 3.938 kB / 367.4 MB, free: 3.406 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.1112, allocations: 31.97 kB / 367.5 MB, free: 3.375 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001141/0.1124, allocations: 208.6 kB / 367.7 MB, free: 3.168 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.1124, allocations: 7.938 kB / 367.7 MB, free: 3.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004165/0.1128, allocations: 0.6186 MB / 368.3 MB, free: 2.516 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1128, allocations: 0 / 368.3 MB, free: 2.516 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008227/0.1137, allocations: 432.7 kB / 368.7 MB, free: 2.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.418e-05/0.1137, allocations: 92.95 kB / 368.8 MB, free: 1.961 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.1138, allocations: 4 kB / 368.8 MB, free: 1.957 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.1139, allocations: 20.05 kB / 368.8 MB, free: 1.938 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.114, allocations: 11.98 kB / 368.8 MB, free: 1.926 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.114, allocations: 4 kB / 368.8 MB, free: 1.922 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001001/0.1141, allocations: 128.1 kB / 369 MB, free: 1.797 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.413e-06/0.1141, allocations: 0 / 369 MB, free: 1.797 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003091/0.1144, allocations: 67.77 kB / 369 MB, free: 1.73 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.001121/0.1156, allocations: 0.9617 MB / 370 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003766/0.116, allocations: 159.8 kB / 370.1 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.116, allocations: 0 / 370.1 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.1162, allocations: 83.84 kB / 370.2 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.1166, allocations: 23.98 kB / 370.2 MB, free: 492 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1416/0.2582, allocations: 2.406 MB / 372.7 MB, free: 19.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/0.2584, allocations: 0.7421 MB / 373.4 MB, free: 18.6 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.12e-05/0.2585, allocations: 11.08 kB / 373.4 MB, free: 18.6 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.537e-05/0.2586, allocations: 57.78 kB / 373.5 MB, free: 18.59 MB / 302.1 MB Notification: Performance of SimCode: time 7.52e-07/0.2586, allocations: 0 / 373.5 MB, free: 18.59 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/0.2806, allocations: 4.436 MB / 377.9 MB, free: 18.22 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001377/0.2807, allocations: 234 kB / 378.1 MB, free: 17.97 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/2.071, allocations: 1.344 kB / 378.1 MB, free: 17.97 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