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.001943/0.001943, 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.002302/0.002302, 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.539/1.539, allocations: 207.6 MB / 235.3 MB, free: 10.02 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.001853/0.001853, allocations: 51.92 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3301, allocations: 49.16 MB / 396.4 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.003332/0.3334, allocations: 2.153 MB / 398.5 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009174/0.3344, allocations: 0.5144 MB / 399 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.3345, allocations: 2.281 kB / 399 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.3346, allocations: 21.3 kB / 399 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.623e-05/0.3347, allocations: 50.27 kB / 399.1 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.3349, allocations: 33.56 kB / 399.1 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002124/0.3351, allocations: 167.1 kB / 399.3 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.3353, allocations: 38.48 kB / 399.3 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.3354, allocations: 64.81 kB / 399.4 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.3355, allocations: 67.69 kB / 399.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.3356, allocations: 13.12 kB / 399.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.328e-05/0.3356, allocations: 15.11 kB / 399.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.973e-05/0.3357, allocations: 36.53 kB / 399.5 MB, free: 6.867 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.717e-05/0.3357, allocations: 67.69 kB / 399.6 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.336, allocations: 165 kB / 399.7 MB, free: 6.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.336, allocations: 0.7031 kB / 399.7 MB, free: 6.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.336, allocations: 0 / 399.7 MB, free: 6.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.336, allocations: 1.156 kB / 399.7 MB, free: 6.77 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.0005254/0.3365, allocations: 364.9 kB / 400.1 MB, free: 6.449 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.3366, allocations: 13.14 kB / 400.1 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.789e-05/0.3366, allocations: 45.67 kB / 400.2 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.054e-05/0.3367, allocations: 21.89 kB / 400.2 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.3369, allocations: 157.6 kB / 400.3 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.337, allocations: 9.703 kB / 400.3 MB, free: 6.223 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.337, allocations: 11.59 kB / 400.4 MB, free: 6.219 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.3372, allocations: 117.6 kB / 400.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3372, allocations: 1.125 kB / 400.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.3372, allocations: 5.984 kB / 400.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.3373, allocations: 2.281 kB / 400.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.3374, allocations: 82.02 kB / 400.6 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007421/0.3382, allocations: 0.5628 MB / 401.1 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.3385, allocations: 80.47 kB / 401.2 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.398e-05/0.3385, allocations: 29.09 kB / 401.2 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.3386, allocations: 7.938 kB / 401.2 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.3386, allocations: 44.55 kB / 401.3 MB, free: 5.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.3386, allocations: 0 / 401.3 MB, free: 5.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006817/0.3393, allocations: 180.6 kB / 401.5 MB, free: 5.438 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.999e-05/0.3393, allocations: 51.41 kB / 401.5 MB, free: 5.375 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.3394, allocations: 147.8 kB / 401.7 MB, free: 5.258 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.3394, allocations: 25.7 kB / 401.7 MB, free: 5.227 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.538e-05/0.3394, allocations: 122 kB / 401.8 MB, free: 5.117 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.3395, allocations: 24.83 kB / 401.8 MB, free: 5.098 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.3395, allocations: 24.11 kB / 401.8 MB, free: 5.074 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.089e-05/0.3396, allocations: 320.3 kB / 402.2 MB, free: 4.758 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.5e-05/0.3396, allocations: 23.83 kB / 402.2 MB, free: 4.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.916e-05/0.3397, allocations: 41.81 kB / 402.2 MB, free: 4.719 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.3398, allocations: 73.83 kB / 402.3 MB, free: 4.668 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3398, allocations: 1.5 kB / 402.3 MB, free: 4.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002654/0.3401, allocations: 142.8 kB / 402.4 MB, free: 4.582 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.3401, allocations: 5.531 kB / 402.4 MB, free: 4.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3401, allocations: 1 kB / 402.4 MB, free: 4.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001883/0.3403, allocations: 32.94 kB / 402.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.742e-05/0.3403, allocations: 17.62 kB / 402.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/0.3415, allocations: 1.578 MB / 404.1 MB, free: 3.059 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.204e-05/0.3416, allocations: 11.66 kB / 404.1 MB, free: 3.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.3416, allocations: 3.703 kB / 404.1 MB, free: 3.051 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 7.593e-05/0.3417, allocations: 120.8 kB / 404.2 MB, free: 2.93 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.3417, allocations: 16.56 kB / 404.2 MB, free: 2.918 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.193e-05/0.3417, allocations: 12.69 kB / 404.2 MB, free: 2.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.3417, allocations: 0 / 404.2 MB, free: 2.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.3417, allocations: 1.969 kB / 404.2 MB, free: 2.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3418, allocations: 4.031 kB / 404.2 MB, free: 2.906 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.3419, allocations: 182.4 kB / 404.4 MB, free: 2.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3419, allocations: 4.812 kB / 404.4 MB, free: 2.727 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.832e-05/0.342, allocations: 8.875 kB / 404.4 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001149/0.3421, allocations: 35.7 kB / 404.5 MB, free: 2.707 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.3421, allocations: 9.766 kB / 404.5 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009941/0.3431, allocations: 1.576 MB / 406 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3431, allocations: 1.188 kB / 406 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.3434, allocations: 213.8 kB / 406.3 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.734e-05/0.3434, allocations: 7.672 kB / 406.3 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.3434, allocations: 5.5 kB / 406.3 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.3435, allocations: 5.891 kB / 406.3 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.3435, allocations: 9.281 kB / 406.3 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.3435, allocations: 2.031 kB / 406.3 MB, free: 1.016 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.098e-05/0.3436, allocations: 111.7 kB / 406.4 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3436, allocations: 0 / 406.4 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003692/0.344, allocations: 43.55 kB / 406.4 MB, free: 0.918 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.0004207/0.3444, allocations: 0.7469 MB / 407.2 MB, free: 220 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003956/0.3448, allocations: 193.7 kB / 407.4 MB, free: 72 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3448, allocations: 4.125 kB / 407.4 MB, free: 68 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000229/0.345, allocations: 154.4 kB / 407.5 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.3453, allocations: 13.28 kB / 407.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.3476, allocations: 1.721 MB / 409.3 MB, free: 14.49 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.348, allocations: 0.7104 MB / 410 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.519e-05/0.348, allocations: 4.797 kB / 410 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.938e-05/0.3481, allocations: 33.62 kB / 410 MB, free: 13.76 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3481, allocations: 0 / 410 MB, free: 13.76 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04234/0.3904, allocations: 3.154 MB / 413.2 MB, free: 12.85 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/13.48, allocations: 5.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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 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.csv","/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] "Error: Could not read variable heatingResistor.i in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor_res.csv. Warning: Get data of variable heatingResistor.i from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor_res.csv failed! Error: Could not read variable heatingResistor.LossPower in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor_res.csv. Warning: Get data of variable heatingResistor.LossPower from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.237580237997463]