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.0008206/0.0008206, allocations: 91.77 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009794/0.0009795, allocations: 197.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.226/1.226, allocations: 227.7 MB / 246.8 MB, free: 11.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002026/0.0002026, allocations: 8 kB / 307.8 MB, free: 0.7227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08078/0.081, allocations: 51.53 MB / 359.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002543/0.08358, allocations: 2.216 MB / 361.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.08479, allocations: 0.6935 MB / 362.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001814/0.085, allocations: 4 kB / 362.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.08515, allocations: 27.77 kB / 362.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001554/0.08531, allocations: 59.48 kB / 362.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.08559, allocations: 83.84 kB / 362.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002653/0.08586, allocations: 266.7 kB / 362.7 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.08602, allocations: 80.08 kB / 362.8 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.08623, allocations: 95.64 kB / 362.9 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.08639, allocations: 107.5 kB / 363 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.08643, allocations: 12 kB / 363 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.237e-05/0.08653, allocations: 31.98 kB / 363 MB, free: 9.512 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.305e-05/0.08658, allocations: 39.83 kB / 363.1 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.08669, allocations: 137 kB / 363.2 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.08696, allocations: 271.2 kB / 363.5 MB, free: 9.066 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.08697, allocations: 4 kB / 363.5 MB, free: 9.062 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.08698, allocations: 0 / 363.5 MB, free: 9.062 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.08699, allocations: 0 / 363.5 MB, free: 9.062 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.0007031/0.0877, allocations: 0.4912 MB / 364 MB, free: 8.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.08775, allocations: 12.03 kB / 364 MB, free: 8.508 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.991e-05/0.08781, allocations: 54.73 kB / 364 MB, free: 8.445 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.08798, allocations: 44.64 kB / 364.1 MB, free: 8.402 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.08823, allocations: 247.8 kB / 364.3 MB, free: 8.121 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.08826, allocations: 16.81 kB / 364.3 MB, free: 8.105 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.421e-05/0.08831, allocations: 20.38 kB / 364.3 MB, free: 8.086 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003364/0.08865, allocations: 191.4 kB / 364.5 MB, free: 7.891 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.08867, allocations: 0 / 364.5 MB, free: 7.891 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.0887, allocations: 12 kB / 364.5 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.08872, allocations: 7.938 kB / 364.5 MB, free: 7.871 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002974/0.08902, allocations: 157.7 kB / 364.7 MB, free: 7.719 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.001313/0.09034, allocations: 0.9297 MB / 365.6 MB, free: 6.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002846/0.09063, allocations: 162.5 kB / 365.8 MB, free: 6.512 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.09083, allocations: 96.77 kB / 365.9 MB, free: 6.414 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.09086, allocations: 8 kB / 365.9 MB, free: 6.406 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.09089, allocations: 34.55 kB / 365.9 MB, free: 6.363 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 2.695e-06/0.0909, allocations: 4 kB / 365.9 MB, free: 6.359 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001183/0.09209, allocations: 427.3 kB / 366.3 MB, free: 5.914 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.09213, allocations: 55.41 kB / 366.4 MB, free: 5.848 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.0923, allocations: 180.3 kB / 366.6 MB, free: 5.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.09233, allocations: 29.7 kB / 366.6 MB, free: 5.625 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.377e-05/0.09242, allocations: 148.2 kB / 366.7 MB, free: 5.477 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.764e-05/0.09247, allocations: 59.11 kB / 366.8 MB, free: 5.418 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.09251, allocations: 21.7 kB / 366.8 MB, free: 5.391 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.09264, allocations: 330.8 kB / 367.2 MB, free: 5.059 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.09276, allocations: 51.97 kB / 367.2 MB, free: 5.008 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.09288, allocations: 77.62 kB / 367.3 MB, free: 4.926 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.09313, allocations: 131.9 kB / 367.4 MB, free: 4.793 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.09314, allocations: 0 / 367.4 MB, free: 4.793 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003986/0.09354, allocations: 236.7 kB / 367.6 MB, free: 4.555 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.09357, allocations: 4 kB / 367.6 MB, free: 4.551 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.09357, allocations: 0 / 367.6 MB, free: 4.551 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/0.09485, allocations: 220.5 kB / 367.9 MB, free: 4.332 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.095, allocations: 39.97 kB / 367.9 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004683/0.09548, allocations: 0.607 MB / 368.5 MB, free: 3.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.09561, allocations: 15.88 kB / 368.5 MB, free: 3.645 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.09563, allocations: 8.078 kB / 368.5 MB, free: 3.637 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.0001203/0.09576, allocations: 142.9 kB / 368.7 MB, free: 3.488 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/0.0958, allocations: 15.81 kB / 368.7 MB, free: 3.473 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004208/0.09623, allocations: 228.2 kB / 368.9 MB, free: 3.238 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.09624, allocations: 4 kB / 368.9 MB, free: 3.234 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.09625, allocations: 0 / 368.9 MB, free: 3.234 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.09626, allocations: 3.984 kB / 368.9 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007978/0.09706, allocations: 0.608 MB / 369.5 MB, free: 2.562 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.09708, allocations: 0 / 369.5 MB, free: 2.562 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.09722, allocations: 31.92 kB / 369.6 MB, free: 2.531 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001031/0.09826, allocations: 216.6 kB / 369.8 MB, free: 2.316 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.09829, allocations: 7.984 kB / 369.8 MB, free: 2.309 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004366/0.09873, allocations: 0.6264 MB / 370.4 MB, free: 1.656 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.09874, allocations: 0 / 370.4 MB, free: 1.656 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007676/0.09952, allocations: 436.8 kB / 370.8 MB, free: 1.207 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/0.09959, allocations: 92.86 kB / 370.9 MB, free: 1.098 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.09962, allocations: 7.984 kB / 370.9 MB, free: 1.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.09976, allocations: 12 kB / 370.9 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.09981, allocations: 11.98 kB / 370.9 MB, free: 1.066 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.09983, allocations: 8.094 kB / 371 MB, free: 1.059 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.121e-05/0.09992, allocations: 136 kB / 371.1 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09993, allocations: 0 / 371.1 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.1002, allocations: 67.81 kB / 371.2 MB, free: 0.8594 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.1377/0.238, allocations: 0.9546 MB / 372.1 MB, free: 18.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004248/0.2384, allocations: 150.6 kB / 372.3 MB, free: 18.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.299e-06/0.2384, allocations: 2.188 kB / 372.3 MB, free: 18.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001839/0.2386, allocations: 87.86 kB / 372.3 MB, free: 18.86 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.239, allocations: 27.33 kB / 372.4 MB, free: 18.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.2414, allocations: 2.488 MB / 374.9 MB, free: 17.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/0.2416, allocations: 0.7389 MB / 375.6 MB, free: 16.69 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.308e-05/0.2417, allocations: 14.64 kB / 375.6 MB, free: 16.69 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.543e-05/0.2418, allocations: 61.59 kB / 375.7 MB, free: 16.68 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2418, allocations: 0 / 375.7 MB, free: 16.68 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01486/0.2566, allocations: 4.332 MB / 380 MB, free: 16.32 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001228/0.2568, allocations: 244 kB / 380.2 MB, free: 16.06 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/1.954, allocations: 1.469 kB / 380.2 MB, free: 16.06 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