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.00176/0.00176, allocations: 114.5 kB / 17.73 MB, free: 5.324 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.001794/0.001795, allocations: 187 kB / 18.66 MB, free: 4.398 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.486/1.486, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001389/0.001389, allocations: 59.92 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09317/0.09457, allocations: 46.62 MB / 374.6 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.003803/0.09841, allocations: 2.119 MB / 376.8 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.09947, allocations: 0.5073 MB / 377.3 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.09962, allocations: 4 kB / 377.3 MB, free: 2.414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.09981, allocations: 19.8 kB / 377.3 MB, free: 2.395 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.09994, allocations: 51.55 kB / 377.3 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.1002, allocations: 39.89 kB / 377.4 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.1005, allocations: 155.2 kB / 377.5 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.1006, allocations: 57.44 kB / 377.6 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.1008, allocations: 63.73 kB / 377.7 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.1009, allocations: 67.75 kB / 377.7 MB, free: 1.965 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.101, allocations: 12 kB / 377.7 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.968e-05/0.1011, allocations: 16 kB / 377.7 MB, free: 1.938 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.697e-05/0.1011, allocations: 39.78 kB / 377.8 MB, free: 1.898 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.168e-05/0.1012, allocations: 71.67 kB / 377.9 MB, free: 1.828 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.1015, allocations: 163.7 kB / 378 MB, free: 1.668 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.1015, allocations: 3.984 kB / 378 MB, free: 1.664 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1015, allocations: 0 / 378 MB, free: 1.664 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.1015, allocations: 0 / 378 MB, free: 1.664 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.0006518/0.1022, allocations: 435.1 kB / 378.4 MB, free: 1.191 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.1022, allocations: 12.03 kB / 378.5 MB, free: 1.18 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.299e-05/0.1023, allocations: 50.73 kB / 378.5 MB, free: 1.121 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.746e-05/0.1024, allocations: 12.84 kB / 378.5 MB, free: 1.109 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.1026, allocations: 200.1 kB / 378.7 MB, free: 0.875 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.1027, allocations: 12.59 kB / 378.7 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.1027, allocations: 12.38 kB / 378.7 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.103, allocations: 127.6 kB / 378.9 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.103, allocations: 0 / 378.9 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.103, allocations: 4 kB / 378.9 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.103, allocations: 0 / 378.9 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.1032, allocations: 88.61 kB / 379 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2111/0.3143, allocations: 0.5857 MB / 379.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003497/0.3147, allocations: 86.09 kB / 379.6 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.412e-05/0.3148, allocations: 33.67 kB / 379.7 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.3148, allocations: 3.875 kB / 379.7 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.3148, allocations: 36.28 kB / 379.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.924e-06/0.3148, allocations: 0 / 379.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006725/0.3155, allocations: 253 kB / 379.9 MB, free: 12.76 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.3155, allocations: 54.38 kB / 380 MB, free: 12.7 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.3156, allocations: 152 kB / 380.1 MB, free: 12.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.3157, allocations: 25.7 kB / 380.2 MB, free: 12.56 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.845e-05/0.3157, allocations: 128.5 kB / 380.3 MB, free: 12.47 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.3157, allocations: 25.61 kB / 380.3 MB, free: 12.46 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.3158, allocations: 21.77 kB / 380.3 MB, free: 12.45 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.845e-05/0.3159, allocations: 320.7 kB / 380.7 MB, free: 12.13 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.871e-05/0.3159, allocations: 22.5 kB / 380.7 MB, free: 12.13 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.818e-05/0.316, allocations: 43.8 kB / 380.7 MB, free: 12.11 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.3161, allocations: 74.38 kB / 380.8 MB, free: 12.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3161, allocations: 0 / 380.8 MB, free: 12.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002442/0.3164, allocations: 133.6 kB / 380.9 MB, free: 12.04 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.3164, allocations: 5.188 kB / 380.9 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3164, allocations: 3.594 kB / 380.9 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001736/0.3166, allocations: 40.16 kB / 381 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.685e-05/0.3167, allocations: 9.828 kB / 381 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06609/0.3828, allocations: 1.692 MB / 382.7 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.383, allocations: 10.69 kB / 382.7 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.383, allocations: 7.406 kB / 382.7 MB, free: 10.53 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 0.0001527/0.3832, allocations: 130.9 kB / 382.8 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.954e-05/0.3833, allocations: 9.859 kB / 382.8 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.986e-05/0.3833, allocations: 13.8 kB / 382.8 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.3833, allocations: 3.125 kB / 382.8 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3833, allocations: 1 kB / 382.8 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.3833, allocations: 2.109 kB / 382.8 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.3836, allocations: 211.1 kB / 383.1 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3836, allocations: 3.172 kB / 383.1 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.531e-05/0.3837, allocations: 4.781 kB / 383.1 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001799/0.3839, allocations: 37.09 kB / 383.1 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.3839, allocations: 5.734 kB / 383.1 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001299/0.3852, allocations: 1.68 MB / 384.8 MB, free: 8.703 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3852, allocations: 7.219 kB / 384.8 MB, free: 8.699 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003467/0.3856, allocations: 211 kB / 385 MB, free: 8.555 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.534e-05/0.3856, allocations: 88.44 kB / 385.1 MB, free: 8.457 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.3857, allocations: 1.984 kB / 385.1 MB, free: 8.457 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.484e-05/0.3858, allocations: 13.66 kB / 385.1 MB, free: 8.449 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.3858, allocations: 9.266 kB / 385.1 MB, free: 8.449 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.3858, allocations: 6.062 kB / 385.1 MB, free: 8.445 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.057e-05/0.3859, allocations: 106.5 kB / 385.2 MB, free: 8.371 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3859, allocations: 192 / 385.2 MB, free: 8.371 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004105/0.3863, allocations: 38.38 kB / 385.3 MB, free: 8.367 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.0005996/0.387, allocations: 0.7518 MB / 386 MB, free: 7.688 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005538/0.3875, allocations: 189.1 kB / 386.2 MB, free: 7.559 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3875, allocations: 0.625 kB / 386.2 MB, free: 7.559 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002535/0.3878, allocations: 165.6 kB / 386.4 MB, free: 7.426 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.3881, allocations: 16.45 kB / 386.4 MB, free: 7.418 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.3904, allocations: 1.714 MB / 388.1 MB, free: 5.996 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.3907, allocations: 0.7138 MB / 388.8 MB, free: 5.293 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.554e-05/0.3908, allocations: 4.797 kB / 388.8 MB, free: 5.293 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.663e-05/0.3908, allocations: 30.09 kB / 388.8 MB, free: 5.27 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.3908, allocations: 0 / 388.8 MB, free: 5.27 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07056/0.4614, allocations: 3.104 MB / 391.9 MB, free: 4.57 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.15, allocations: 8.922 kB / 391.9 MB, free: 4.562 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