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.001796/0.001796, allocations: 110.4 kB / 17.73 MB, free: 5.34 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.001964/0.001964, allocations: 183.1 kB / 18.67 MB, free: 4.41 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.467/1.467, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001628/0.001628, allocations: 55.92 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1055, allocations: 46.61 MB / 374.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.003982/0.1096, allocations: 2.139 MB / 376.8 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009791/0.1106, allocations: 0.4995 MB / 377.3 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.064e-05/0.1107, allocations: 8 kB / 377.3 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.1108, allocations: 19.78 kB / 377.3 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.833e-05/0.1109, allocations: 47.56 kB / 377.4 MB, free: 2.363 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.1112, allocations: 43.88 kB / 377.4 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002241/0.1114, allocations: 151.3 kB / 377.5 MB, free: 2.172 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.1116, allocations: 57.44 kB / 377.6 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.1118, allocations: 67.72 kB / 377.7 MB, free: 2.047 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.1119, allocations: 63.77 kB / 377.7 MB, free: 1.984 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.1119, allocations: 12 kB / 377.7 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.28e-05/0.112, allocations: 20 kB / 377.8 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.87e-05/0.1121, allocations: 31.84 kB / 377.8 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.81e-05/0.1122, allocations: 71.61 kB / 377.9 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002694/0.1124, allocations: 159.3 kB / 378 MB, free: 1.695 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.1125, allocations: 4 kB / 378 MB, free: 1.691 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1125, allocations: 0 / 378 MB, free: 1.691 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1125, allocations: 0 / 378 MB, free: 1.691 MB / 318.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.0007522/0.1132, allocations: 443 kB / 378.5 MB, free: 1.211 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.1133, allocations: 12.03 kB / 378.5 MB, free: 1.199 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.787e-05/0.1134, allocations: 42.73 kB / 378.5 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.1135, allocations: 20.84 kB / 378.5 MB, free: 1.129 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.1138, allocations: 212.1 kB / 378.7 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.1139, allocations: 12.55 kB / 378.8 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.1139, allocations: 12.38 kB / 378.8 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.1142, allocations: 119.6 kB / 378.9 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1142, allocations: 4 kB / 378.9 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.1142, allocations: 8 kB / 378.9 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.1142, allocations: 0 / 378.9 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002117/0.1145, allocations: 80.66 kB / 379 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2694/0.3838, allocations: 0.594 MB / 379.6 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005425/0.3844, allocations: 85.62 kB / 379.6 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.3845, allocations: 29.58 kB / 379.7 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.3846, allocations: 3.469 kB / 379.7 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.3846, allocations: 37.81 kB / 379.7 MB, free: 12.91 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 4.559e-06/0.3846, allocations: 0 / 379.7 MB, free: 12.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009283/0.3856, allocations: 256.1 kB / 380 MB, free: 12.78 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.3856, allocations: 59.17 kB / 380 MB, free: 12.72 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.3858, allocations: 143.1 kB / 380.2 MB, free: 12.62 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.3859, allocations: 27.05 kB / 380.2 MB, free: 12.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.386, allocations: 125.8 kB / 380.3 MB, free: 12.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.386, allocations: 21.8 kB / 380.3 MB, free: 12.49 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.186e-05/0.3861, allocations: 25.12 kB / 380.4 MB, free: 12.47 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.3862, allocations: 321.5 kB / 380.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.415e-05/0.3863, allocations: 22.44 kB / 380.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.232e-05/0.3864, allocations: 45.55 kB / 380.7 MB, free: 12.14 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.3865, allocations: 73.2 kB / 380.8 MB, free: 12.11 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3865, allocations: 0 / 380.8 MB, free: 12.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002834/0.3868, allocations: 133.8 kB / 380.9 MB, free: 12.07 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.3869, allocations: 7.281 kB / 380.9 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.3869, allocations: 1.812 kB / 381 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002335/0.3871, allocations: 35.77 kB / 381 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.64e-05/0.3872, allocations: 11.72 kB / 381 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/0.3888, allocations: 1.695 MB / 382.7 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.302e-05/0.3889, allocations: 12.2 kB / 382.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.3889, allocations: 4.031 kB / 382.7 MB, free: 10.55 MB / 318.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 8.579e-05/0.389, allocations: 126.1 kB / 382.8 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.389, allocations: 12.3 kB / 382.8 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.067e-05/0.389, allocations: 14.19 kB / 382.9 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.3891, allocations: 1.375 kB / 382.9 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3891, allocations: 0.6094 kB / 382.9 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.3891, allocations: 1.375 kB / 382.9 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.3893, allocations: 224.4 kB / 383.1 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3893, allocations: 1.375 kB / 383.1 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.477e-05/0.3893, allocations: 6.531 kB / 383.1 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001177/0.3895, allocations: 34.7 kB / 383.1 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.3895, allocations: 0 / 383.1 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/0.3907, allocations: 1.681 MB / 384.8 MB, free: 8.727 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3907, allocations: 2.188 kB / 384.8 MB, free: 8.727 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/0.3911, allocations: 222.3 kB / 385 MB, free: 8.574 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.391e-05/0.3912, allocations: 86.5 kB / 385.1 MB, free: 8.477 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.3912, allocations: 2.047 kB / 385.1 MB, free: 8.477 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.756e-05/0.3913, allocations: 5.938 kB / 385.1 MB, free: 8.477 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.808e-05/0.3914, allocations: 12.02 kB / 385.1 MB, free: 8.473 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-06/0.3914, allocations: 6.688 kB / 385.1 MB, free: 8.469 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.982e-05/0.3915, allocations: 110.8 kB / 385.2 MB, free: 8.395 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3915, allocations: 3.75 kB / 385.2 MB, free: 8.395 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004011/0.3919, allocations: 34.67 kB / 385.3 MB, free: 8.391 MB / 318.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.0006284/0.3925, allocations: 0.7495 MB / 386 MB, free: 7.715 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000522/0.3931, allocations: 196.5 kB / 386.2 MB, free: 7.582 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3931, allocations: 0.5 kB / 386.2 MB, free: 7.582 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002287/0.3933, allocations: 161.7 kB / 386.4 MB, free: 7.453 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.3936, allocations: 13.78 kB / 386.4 MB, free: 7.445 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.3955, allocations: 1.707 MB / 388.1 MB, free: 6.023 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.3958, allocations: 0.7147 MB / 388.8 MB, free: 5.32 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.717e-05/0.3959, allocations: 4.438 kB / 388.8 MB, free: 5.32 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.273e-05/0.3959, allocations: 33.72 kB / 388.8 MB, free: 5.293 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3959, allocations: 0 / 388.8 MB, free: 5.293 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03354/0.4295, allocations: 3.045 MB / 391.9 MB, free: 4.605 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.2, allocations: 20.88 kB / 391.9 MB, free: 4.586 MB / 318.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches