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.001654/0.001654, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001584/0.001584, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.358/1.358, allocations: 207.7 MB / 235.3 MB, free: 9.797 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.001922/0.001922, allocations: 56.34 kB / 347.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.244, allocations: 49.16 MB / 396.3 MB, free: 9.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.003038/0.247, allocations: 2.06 MB / 398.4 MB, free: 7.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007538/0.2478, allocations: 490.6 kB / 398.9 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.385e-05/0.2479, allocations: 2.719 kB / 398.9 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.248, allocations: 20.12 kB / 398.9 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.713e-05/0.2481, allocations: 51.41 kB / 399 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.2483, allocations: 34.59 kB / 399 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.2484, allocations: 158.2 kB / 399.1 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.2486, allocations: 49.8 kB / 399.2 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.2487, allocations: 60.73 kB / 399.3 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.2488, allocations: 59.95 kB / 399.3 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.2488, allocations: 12.81 kB / 399.3 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.903e-05/0.2489, allocations: 19.11 kB / 399.3 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.848e-05/0.2489, allocations: 36.69 kB / 399.4 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.749e-05/0.2489, allocations: 51.75 kB / 399.4 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.2492, allocations: 163.7 kB / 399.6 MB, free: 7.016 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2492, allocations: 1.031 kB / 399.6 MB, free: 7.016 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2492, allocations: 0 / 399.6 MB, free: 7.016 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.2492, allocations: 0 / 399.6 MB, free: 7.016 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.0004902/0.2497, allocations: 365.1 kB / 399.9 MB, free: 6.695 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.2497, allocations: 13.3 kB / 400 MB, free: 6.691 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.459e-05/0.2497, allocations: 47.2 kB / 400 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.285e-05/0.2498, allocations: 21.94 kB / 400 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.25, allocations: 152.9 kB / 400.2 MB, free: 6.477 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.25, allocations: 9.953 kB / 400.2 MB, free: 6.473 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.2501, allocations: 15.22 kB / 400.2 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.2503, allocations: 149.2 kB / 400.3 MB, free: 6.367 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.2503, allocations: 3.938 kB / 400.3 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.2503, allocations: 5.188 kB / 400.4 MB, free: 6.359 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.2503, allocations: 2.406 kB / 400.4 MB, free: 6.359 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.2505, allocations: 81.02 kB / 400.4 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006692/0.2512, allocations: 474 kB / 400.9 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.2515, allocations: 83.52 kB / 401 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.777e-05/0.2515, allocations: 29.77 kB / 401 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.2515, allocations: 1.469 kB / 401 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.346e-05/0.2516, allocations: 36.67 kB / 401 MB, free: 5.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.2516, allocations: 0 / 401 MB, free: 5.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006206/0.2522, allocations: 179.3 kB / 401.2 MB, free: 5.758 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.978e-05/0.2522, allocations: 53.19 kB / 401.3 MB, free: 5.695 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.36e-05/0.2523, allocations: 147.4 kB / 401.4 MB, free: 5.578 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.848e-06/0.2523, allocations: 30.36 kB / 401.4 MB, free: 5.543 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.821e-05/0.2523, allocations: 129.8 kB / 401.6 MB, free: 5.426 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.2524, allocations: 20.47 kB / 401.6 MB, free: 5.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.2524, allocations: 24.34 kB / 401.6 MB, free: 5.387 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.309e-05/0.2524, allocations: 321.1 kB / 401.9 MB, free: 5.07 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.147e-05/0.2525, allocations: 18.8 kB / 401.9 MB, free: 5.066 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.772e-05/0.2526, allocations: 42.23 kB / 402 MB, free: 5.035 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.2527, allocations: 70.69 kB / 402.1 MB, free: 4.988 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2527, allocations: 5.594 kB / 402.1 MB, free: 4.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002556/0.2529, allocations: 135.7 kB / 402.2 MB, free: 4.906 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.253, allocations: 5.312 kB / 402.2 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.253, allocations: 1.219 kB / 402.2 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000179/0.2531, allocations: 36.86 kB / 402.2 MB, free: 4.891 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.318e-05/0.2532, allocations: 8.828 kB / 402.2 MB, free: 4.891 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/0.2543, allocations: 1.581 MB / 403.8 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.137e-05/0.2543, allocations: 16.61 kB / 403.8 MB, free: 3.371 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.2543, allocations: 2.312 kB / 403.8 MB, free: 3.371 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.177e-05/0.2544, allocations: 125.2 kB / 404 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.2545, allocations: 17.12 kB / 404 MB, free: 3.234 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.946e-05/0.2545, allocations: 12.38 kB / 404 MB, free: 3.227 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.2545, allocations: 5.984 kB / 404 MB, free: 3.223 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.2545, allocations: 0 / 404 MB, free: 3.223 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2545, allocations: 0.5156 kB / 404 MB, free: 3.223 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.2546, allocations: 175.8 kB / 404.2 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2547, allocations: 3.938 kB / 404.2 MB, free: 3.043 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.745e-05/0.2547, allocations: 5.078 kB / 404.2 MB, free: 3.043 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001113/0.2548, allocations: 36.75 kB / 404.2 MB, free: 3.027 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.2548, allocations: 4 kB / 404.2 MB, free: 3.023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008946/0.2557, allocations: 1.568 MB / 405.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2557, allocations: 0.6562 kB / 405.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.256, allocations: 215.1 kB / 406 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.68e-05/0.256, allocations: 11.02 kB / 406 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.256, allocations: 5.062 kB / 406 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.597e-05/0.2561, allocations: 6.062 kB / 406 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.2561, allocations: 7.109 kB / 406 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.2561, allocations: 5.609 kB / 406 MB, free: 1.344 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.049e-05/0.2562, allocations: 116.4 kB / 406.2 MB, free: 1.254 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2562, allocations: 0 / 406.2 MB, free: 1.254 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003469/0.2565, allocations: 42.64 kB / 406.2 MB, free: 1.242 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.00037/0.2569, allocations: 0.7447 MB / 406.9 MB, free: 0.543 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003285/0.2572, allocations: 193 kB / 407.1 MB, free: 408 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2572, allocations: 1.188 kB / 407.1 MB, free: 408 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.2574, allocations: 156.5 kB / 407.3 MB, free: 276 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.2577, allocations: 13.89 kB / 407.3 MB, free: 268 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.2596, allocations: 1.726 MB / 409 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.924e-05/0.2597, allocations: 96.8 kB / 409.1 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.332e-05/0.2597, allocations: 6.109 kB / 409.1 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.046e-05/0.2598, allocations: 36.67 kB / 409.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2598, allocations: 1.875 kB / 409.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0339/0.2937, allocations: 3.464 MB / 412.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/12.86, allocations: 5.531 kB / 412.6 MB, free: 13.4 MB / 334.1 MB " [Timeout remaining time 647] (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: 15.307413693051785]