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.001732/0.001732, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001853/0.001854, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 63.89 kB / 358.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2602, allocations: 50.55 MB / 408.8 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004692/0.2649, allocations: 2.539 MB / 411.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.2668, allocations: 0.6856 MB / 412.1 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002894/0.2671, allocations: 0 / 412.1 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002308/0.2673, allocations: 35.66 kB / 412.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002761/0.2677, allocations: 83.2 kB / 412.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004531/0.2681, allocations: 95.81 kB / 412.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004029/0.2686, allocations: 278.7 kB / 412.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002195/0.2688, allocations: 88.33 kB / 412.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002468/0.269, allocations: 111.6 kB / 412.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.2692, allocations: 115.5 kB / 412.9 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.169e-05/0.2693, allocations: 24 kB / 412.9 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.2694, allocations: 39.98 kB / 412.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.038e-05/0.2695, allocations: 47.78 kB / 413 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.2696, allocations: 127.4 kB / 413.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004124/0.27, allocations: 297.7 kB / 413.4 MB, free: 12.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.27, allocations: 0 / 413.4 MB, free: 12.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2701, allocations: 4 kB / 413.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.2701, allocations: 0 / 413.4 MB, free: 12.89 MB / 334.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.0009821/0.2711, allocations: 0.5338 MB / 413.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.2711, allocations: 8.031 kB / 413.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.906e-05/0.2712, allocations: 54.73 kB / 414 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/0.2714, allocations: 44.73 kB / 414 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004284/0.2718, allocations: 248 kB / 414.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.2718, allocations: 12.81 kB / 414.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.226e-05/0.2719, allocations: 24.36 kB / 414.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004079/0.2723, allocations: 195.3 kB / 414.5 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.2723, allocations: 3.953 kB / 414.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.2724, allocations: 12 kB / 414.5 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.2724, allocations: 4 kB / 414.5 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003285/0.2727, allocations: 157.6 kB / 414.7 MB, free: 11.51 MB / 334.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.001488/0.2742, allocations: 0.9221 MB / 415.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003664/0.2746, allocations: 161.2 kB / 415.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.2748, allocations: 96.81 kB / 415.8 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.2749, allocations: 4 kB / 415.8 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.2749, allocations: 30.56 kB / 415.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 3.606e-06/0.2749, allocations: 4 kB / 415.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001297/0.2762, allocations: 419.5 kB / 416.3 MB, free: 9.738 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.2763, allocations: 51.41 kB / 416.3 MB, free: 9.676 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.2765, allocations: 180.9 kB / 416.5 MB, free: 9.488 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.2765, allocations: 33.7 kB / 416.5 MB, free: 9.449 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.2766, allocations: 144.3 kB / 416.7 MB, free: 9.305 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.454e-05/0.2767, allocations: 75.41 kB / 416.8 MB, free: 9.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.142e-05/0.2768, allocations: 37.7 kB / 416.8 MB, free: 9.188 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.277, allocations: 326.8 kB / 417.1 MB, free: 8.859 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.2771, allocations: 51.97 kB / 417.2 MB, free: 8.809 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.2772, allocations: 76.62 kB / 417.2 MB, free: 8.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002452/0.2775, allocations: 124.1 kB / 417.4 MB, free: 8.605 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2775, allocations: 0 / 417.4 MB, free: 8.605 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004221/0.2779, allocations: 218.3 kB / 417.6 MB, free: 8.383 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.2779, allocations: 7.984 kB / 417.6 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-06/0.278, allocations: 3.938 kB / 417.6 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/0.2793, allocations: 228.6 kB / 417.8 MB, free: 8.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.2795, allocations: 39.86 kB / 417.8 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005323/0.28, allocations: 0.6109 MB / 418.5 MB, free: 7.469 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.2801, allocations: 11.92 kB / 418.5 MB, free: 7.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.2802, allocations: 8 kB / 418.5 MB, free: 7.449 MB / 334.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.000138/0.2803, allocations: 137.8 kB / 418.6 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.468e-05/0.2804, allocations: 15.91 kB / 418.6 MB, free: 7.289 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004735/0.2808, allocations: 230.5 kB / 418.9 MB, free: 7.055 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2809, allocations: 0 / 418.9 MB, free: 7.055 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2809, allocations: 4 kB / 418.9 MB, free: 7.051 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.2809, allocations: 7.922 kB / 418.9 MB, free: 7.043 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000913/0.2818, allocations: 0.5935 MB / 419.5 MB, free: 6.387 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.2819, allocations: 3.938 kB / 419.5 MB, free: 6.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.282, allocations: 31.97 kB / 419.5 MB, free: 6.352 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001081/0.2831, allocations: 196.6 kB / 419.7 MB, free: 6.156 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.2831, allocations: 11.98 kB / 419.7 MB, free: 6.145 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00053/0.2837, allocations: 0.6226 MB / 420.3 MB, free: 5.496 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2837, allocations: 0 / 420.3 MB, free: 5.496 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008329/0.2845, allocations: 431.7 kB / 420.7 MB, free: 5.055 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.469e-05/0.2846, allocations: 96.94 kB / 420.8 MB, free: 4.941 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/0.2847, allocations: 8 kB / 420.8 MB, free: 4.934 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.2848, allocations: 11.98 kB / 420.9 MB, free: 4.922 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.2849, allocations: 7.984 kB / 420.9 MB, free: 4.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.2849, allocations: 4 kB / 420.9 MB, free: 4.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.285, allocations: 140.1 kB / 421 MB, free: 4.773 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.285, allocations: 0 / 421 MB, free: 4.773 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000311/0.2853, allocations: 59.89 kB / 421.1 MB, free: 4.715 MB / 334.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.001213/0.2865, allocations: 0.9586 MB / 422 MB, free: 3.723 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004465/0.287, allocations: 151.8 kB / 422.2 MB, free: 3.574 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.287, allocations: 3.938 kB / 422.2 MB, free: 3.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002093/0.2872, allocations: 88.12 kB / 422.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.2876, allocations: 31.98 kB / 422.3 MB, free: 3.453 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003469/0.2911, allocations: 2.331 MB / 424.6 MB, free: 1.027 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004523/0.2916, allocations: 0.7397 MB / 425.4 MB, free: 268 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.861e-05/0.2917, allocations: 17.55 kB / 425.4 MB, free: 248 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.349e-05/0.2918, allocations: 55.42 kB / 425.4 MB, free: 192 kB / 334.1 MB Notification: Performance of SimCode: time 7.81e-07/0.2918, allocations: 0 / 425.4 MB, free: 192 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03057/0.3224, allocations: 4.794 MB / 430.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.86, allocations: 9.844 kB / 430.2 MB, free: 11.54 MB / 350.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.1.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