Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingResistor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingResistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingResistor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingResistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007552/0.0007552, allocations: 93.25 kB / 17.3 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008192/0.0008191, allocations: 172.9 kB / 18.2 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 205.4 MB / 224.4 MB, free: 13.08 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004603/0.0004605, allocations: 12 kB / 281.5 MB, free: 3.316 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08486/0.08533, allocations: 47.57 MB / 329 MB, free: 3.668 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.002217/0.0876, allocations: 1.842 MB / 330.9 MB, free: 1.809 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007976/0.08841, allocations: 0.4918 MB / 331.4 MB, free: 1.309 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.231e-05/0.08851, allocations: 3.938 kB / 331.4 MB, free: 1.305 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.08862, allocations: 19.86 kB / 331.4 MB, free: 1.285 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.505e-05/0.08873, allocations: 39.69 kB / 331.4 MB, free: 1.246 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.08893, allocations: 27.97 kB / 331.5 MB, free: 1.219 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.08915, allocations: 151.3 kB / 331.6 MB, free: 1.07 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.08933, allocations: 45.45 kB / 331.7 MB, free: 1.023 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.08945, allocations: 55.73 kB / 331.7 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.08958, allocations: 51.77 kB / 331.8 MB, free: 0.918 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.08961, allocations: 11.94 kB / 331.8 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.431e-05/0.08969, allocations: 16 kB / 331.8 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.854e-05/0.08973, allocations: 19.91 kB / 331.8 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.383e-05/0.08982, allocations: 89.31 kB / 331.9 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.09001, allocations: 159.6 kB / 332.1 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.09003, allocations: 4 kB / 332.1 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.09003, allocations: 0 / 332.1 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.09004, allocations: 0 / 332.1 MB, free: 0.6172 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005384/0.09059, allocations: 419.3 kB / 332.5 MB, free: 164 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.09064, allocations: 8.031 kB / 332.5 MB, free: 156 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.408e-05/0.0907, allocations: 46.73 kB / 332.5 MB, free: 100 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.09081, allocations: 16.75 kB / 332.5 MB, free: 84 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.09104, allocations: 204 kB / 332.7 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.09107, allocations: 12.61 kB / 332.8 MB, free: 15.83 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.09109, allocations: 8.375 kB / 332.8 MB, free: 15.82 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.09135, allocations: 127.6 kB / 332.9 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.09137, allocations: 0 / 332.9 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.09139, allocations: 8 kB / 332.9 MB, free: 15.69 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.0914, allocations: 0 / 332.9 MB, free: 15.69 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.0916, allocations: 84.61 kB / 333 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008475/0.09245, allocations: 0.6166 MB / 333.6 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002757/0.09274, allocations: 86.61 kB / 333.7 MB, free: 14.81 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.205e-05/0.09283, allocations: 36.97 kB / 333.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.09286, allocations: 4 kB / 333.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.09288, allocations: 38.56 kB / 333.8 MB, free: 14.72 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.09289, allocations: 0 / 333.8 MB, free: 14.72 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006822/0.09358, allocations: 267.3 kB / 334 MB, free: 14.43 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.09362, allocations: 51.41 kB / 334.1 MB, free: 14.37 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.09375, allocations: 157.5 kB / 334.2 MB, free: 14.21 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.09378, allocations: 29.7 kB / 334.3 MB, free: 14.17 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.837e-05/0.09386, allocations: 123.9 kB / 334.4 MB, free: 14.05 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.09389, allocations: 23.72 kB / 334.4 MB, free: 14.02 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.09392, allocations: 17.72 kB / 334.4 MB, free: 14 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.09403, allocations: 318.8 kB / 334.7 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.477e-05/0.0941, allocations: 27.92 kB / 334.8 MB, free: 13.65 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.167e-05/0.09419, allocations: 46.56 kB / 334.8 MB, free: 13.6 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.09433, allocations: 74.5 kB / 334.9 MB, free: 13.52 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.09434, allocations: 0 / 334.9 MB, free: 13.52 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002852/0.09463, allocations: 138.3 kB / 335 MB, free: 13.37 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.09466, allocations: 4 kB / 335 MB, free: 13.37 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.09467, allocations: 4 kB / 335 MB, free: 13.36 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001832/0.09486, allocations: 36.83 kB / 335 MB, free: 13.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.24e-05/0.09492, allocations: 11.94 kB / 335.1 MB, free: 13.31 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/0.09633, allocations: 1.525 MB / 336.6 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.278e-05/0.09641, allocations: 8.375 kB / 336.6 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.09643, allocations: 4 kB / 336.6 MB, free: 11.64 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 9.233e-05/0.09653, allocations: 117.8 kB / 336.7 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.09657, allocations: 7.906 kB / 336.7 MB, free: 11.51 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.51e-05/0.0966, allocations: 16.84 kB / 336.7 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.09661, allocations: 7.984 kB / 336.7 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.09662, allocations: 7.938 kB / 336.8 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.09663, allocations: 0 / 336.8 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.09684, allocations: 209.6 kB / 337 MB, free: 11.22 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.09685, allocations: 0 / 337 MB, free: 11.22 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.569e-05/0.09689, allocations: 4 kB / 337 MB, free: 11.22 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001202/0.09702, allocations: 40.86 kB / 337 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.09704, allocations: 3.938 kB / 337 MB, free: 11.17 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/0.09816, allocations: 1.506 MB / 338.5 MB, free: 9.535 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.09818, allocations: 4.062 kB / 338.5 MB, free: 9.531 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.09848, allocations: 220.4 kB / 338.7 MB, free: 9.297 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.866e-05/0.09853, allocations: 89.02 kB / 338.8 MB, free: 9.191 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.09855, allocations: 7.938 kB / 338.8 MB, free: 9.184 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.09866, allocations: 15.98 kB / 338.8 MB, free: 9.168 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.0987, allocations: 7.938 kB / 338.8 MB, free: 9.16 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.09871, allocations: 0 / 338.8 MB, free: 9.16 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.194e-05/0.09879, allocations: 111.2 kB / 339 MB, free: 9.051 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.0988, allocations: 0 / 339 MB, free: 9.051 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003297/0.09913, allocations: 43.84 kB / 339 MB, free: 9.008 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 1 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005377/0.09968, allocations: 0.7522 MB / 339.8 MB, free: 8.227 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003581/0.1, allocations: 186.7 kB / 339.9 MB, free: 8.031 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1001, allocations: 4 kB / 339.9 MB, free: 8.027 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.1003, allocations: 158.6 kB / 340.1 MB, free: 7.859 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.1005, allocations: 11.98 kB / 340.1 MB, free: 7.848 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.1023, allocations: 1.786 MB / 341.9 MB, free: 5.961 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.1026, allocations: 0.7157 MB / 342.6 MB, free: 5.219 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.523e-05/0.1026, allocations: 8.422 kB / 342.6 MB, free: 5.211 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.34e-05/0.1027, allocations: 31.44 kB / 342.6 MB, free: 5.18 MB / 286.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1027, allocations: 0 / 342.6 MB, free: 5.18 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01325/0.116, allocations: 2.647 MB / 345.3 MB, free: 2.539 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002215/0.1162, allocations: 238.7 kB / 345.5 MB, free: 2.277 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/2.043, allocations: 0 / 345.5 MB, free: 2.277 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingResistor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingResistor.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingResistor/HeatingResistor.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches