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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001977/0.001977, allocations: 109.6 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.727/1.727, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 47.94 kB / 347.2 MB, free: 10.14 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4041, allocations: 49.16 MB / 396.4 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.004337/0.4084, allocations: 2.148 MB / 398.5 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.4096, allocations: 0.5174 MB / 399 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.4097, allocations: 6.219 kB / 399 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.4099, allocations: 20.62 kB / 399 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.41, allocations: 44.44 kB / 399.1 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.4103, allocations: 44.86 kB / 399.1 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.4105, allocations: 159.3 kB / 399.3 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.4107, allocations: 41.05 kB / 399.3 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.4109, allocations: 69.48 kB / 399.4 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.411, allocations: 59.03 kB / 399.5 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.512e-05/0.4111, allocations: 16.94 kB / 399.5 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.81e-05/0.4111, allocations: 20.5 kB / 399.5 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.341e-05/0.4112, allocations: 32.38 kB / 399.5 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.028e-05/0.4113, allocations: 72.05 kB / 399.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003413/0.4116, allocations: 160.8 kB / 399.8 MB, free: 6.754 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4116, allocations: 0 / 399.8 MB, free: 6.754 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4116, allocations: 0 / 399.8 MB, free: 6.754 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.4116, allocations: 1.438 kB / 399.8 MB, free: 6.754 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.0006407/0.4123, allocations: 368.4 kB / 400.1 MB, free: 6.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.4123, allocations: 13.08 kB / 400.1 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.464e-05/0.4124, allocations: 46.12 kB / 400.2 MB, free: 6.379 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.4125, allocations: 18.27 kB / 400.2 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.4127, allocations: 155 kB / 400.3 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.4127, allocations: 9.266 kB / 400.3 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.4127, allocations: 10.59 kB / 400.4 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.413, allocations: 124.9 kB / 400.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.413, allocations: 0 / 400.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.413, allocations: 6.031 kB / 400.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.413, allocations: 3.688 kB / 400.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.4132, allocations: 80.81 kB / 400.6 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009037/0.4141, allocations: 0.5597 MB / 401.1 MB, free: 5.617 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.4145, allocations: 84.56 kB / 401.2 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.397e-05/0.4146, allocations: 32.69 kB / 401.2 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.4146, allocations: 1.719 kB / 401.2 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.4146, allocations: 30.56 kB / 401.3 MB, free: 5.516 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.4146, allocations: 1 kB / 401.3 MB, free: 5.516 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007605/0.4154, allocations: 183.3 kB / 401.5 MB, free: 5.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.4154, allocations: 53.75 kB / 401.5 MB, free: 5.367 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.4155, allocations: 145.9 kB / 401.6 MB, free: 5.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.4155, allocations: 30.41 kB / 401.7 MB, free: 5.215 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.182e-05/0.4156, allocations: 125.2 kB / 401.8 MB, free: 5.102 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.4156, allocations: 24.7 kB / 401.8 MB, free: 5.082 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-05/0.4157, allocations: 22.11 kB / 401.8 MB, free: 5.062 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.142e-05/0.4157, allocations: 319 kB / 402.2 MB, free: 4.746 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.309e-05/0.4158, allocations: 24.08 kB / 402.2 MB, free: 4.738 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.12e-05/0.4159, allocations: 44.97 kB / 402.2 MB, free: 4.703 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.416, allocations: 70.91 kB / 402.3 MB, free: 4.656 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.416, allocations: 0 / 402.3 MB, free: 4.656 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003104/0.4163, allocations: 144.7 kB / 402.4 MB, free: 4.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.4164, allocations: 8.031 kB / 402.4 MB, free: 4.566 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.4164, allocations: 5.953 kB / 402.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002213/0.4166, allocations: 36.39 kB / 402.5 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.145e-05/0.4166, allocations: 9.703 kB / 402.5 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.418, allocations: 1.573 MB / 404.1 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.259e-05/0.4181, allocations: 16.33 kB / 404.1 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.4181, allocations: 11.11 kB / 404.1 MB, free: 3.027 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.329e-05/0.4182, allocations: 115.7 kB / 404.2 MB, free: 2.91 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/0.4182, allocations: 13.62 kB / 404.2 MB, free: 2.902 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.334e-05/0.4182, allocations: 16.38 kB / 404.2 MB, free: 2.891 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.4182, allocations: 0 / 404.2 MB, free: 2.891 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.4182, allocations: 1.219 kB / 404.2 MB, free: 2.891 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.4182, allocations: 0.6562 kB / 404.2 MB, free: 2.891 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.4184, allocations: 178.6 kB / 404.4 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4184, allocations: 7.875 kB / 404.4 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.875e-05/0.4185, allocations: 10.09 kB / 404.4 MB, free: 2.707 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001264/0.4186, allocations: 35.22 kB / 404.5 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.4186, allocations: 1.703 kB / 404.5 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/0.4197, allocations: 1.577 MB / 406 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4197, allocations: 0.6875 kB / 406 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/0.42, allocations: 221 kB / 406.3 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.508e-05/0.42, allocations: 12.48 kB / 406.3 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.42, allocations: 2.172 kB / 406.3 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.4201, allocations: 5.344 kB / 406.3 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.4201, allocations: 4.828 kB / 406.3 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.4201, allocations: 3.234 kB / 406.3 MB, free: 1.004 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.661e-05/0.4202, allocations: 116.1 kB / 406.4 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4202, allocations: 4 kB / 406.4 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003593/0.4206, allocations: 46.8 kB / 406.5 MB, free: 0.8945 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.0004553/0.421, allocations: 0.7391 MB / 407.2 MB, free: 204 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004103/0.4214, allocations: 197.3 kB / 407.4 MB, free: 52 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4214, allocations: 1 kB / 407.4 MB, free: 52 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002438/0.4217, allocations: 157 kB / 407.5 MB, free: 15.92 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.422, allocations: 13.19 kB / 407.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.4244, allocations: 1.722 MB / 409.3 MB, free: 14.47 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/0.4248, allocations: 0.7069 MB / 410 MB, free: 13.77 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.754e-05/0.4249, allocations: 3.562 kB / 410 MB, free: 13.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.715e-05/0.4249, allocations: 36.72 kB / 410 MB, free: 13.74 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4249, allocations: 0 / 410 MB, free: 13.74 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03951/0.4644, allocations: 3.15 MB / 413.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/13.43, allocations: 9.375 kB / 413.2 MB, free: 12.84 MB / 334.1 MB " [Timeout remaining time 646] (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 --stepSize=0.0009996 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.339667635038495]