Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00133/0.00133, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001307/0.001307, allocations: 207.2 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 230.5 MB / 257.4 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Resistor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Resistor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 59.91 kB / 377.7 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2746, allocations: 53.42 MB / 431.1 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.004134/0.2788, allocations: 2.085 MB / 433.2 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.2799, allocations: 0.5844 MB / 433.8 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.28, allocations: 7.938 kB / 433.8 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.2801, allocations: 19.78 kB / 433.8 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.887e-05/0.2802, allocations: 43.62 kB / 433.9 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.2805, allocations: 55.81 kB / 433.9 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.2807, allocations: 155.3 kB / 434.1 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.2808, allocations: 39.34 kB / 434.1 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.281, allocations: 71.72 kB / 434.2 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.2811, allocations: 59.64 kB / 434.3 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.2811, allocations: 16 kB / 434.3 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.654e-05/0.2812, allocations: 20 kB / 434.3 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.316e-05/0.2813, allocations: 31.91 kB / 434.3 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.215e-05/0.2813, allocations: 59.72 kB / 434.4 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.2816, allocations: 171.3 kB / 434.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.2816, allocations: 0 / 434.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2816, allocations: 4 kB / 434.6 MB, free: 3.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.2816, allocations: 0 / 434.6 MB, free: 3.016 MB / 334.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.0006524/0.2822, allocations: 365.9 kB / 434.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.2823, allocations: 11.98 kB / 434.9 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.583e-05/0.2823, allocations: 50.67 kB / 435 MB, free: 2.555 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001957/0.2825, allocations: 28.83 kB / 435 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.2828, allocations: 150.3 kB / 435.2 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.2829, allocations: 12.61 kB / 435.2 MB, free: 2.344 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.2829, allocations: 12.31 kB / 435.2 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.2832, allocations: 157.3 kB / 435.3 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.2832, allocations: 0 / 435.3 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.2832, allocations: 4 kB / 435.3 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.2832, allocations: 4 kB / 435.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/0.2834, allocations: 80.66 kB / 435.4 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008205/0.2842, allocations: 470.4 kB / 435.9 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/0.2845, allocations: 90.53 kB / 436 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.43e-05/0.2846, allocations: 24.98 kB / 436 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.2846, allocations: 7.938 kB / 436 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.2846, allocations: 38.55 kB / 436 MB, free: 1.387 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.2846, allocations: 0 / 436 MB, free: 1.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.000646/0.2853, allocations: 178.5 kB / 436.2 MB, free: 1.203 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.2853, allocations: 51.41 kB / 436.3 MB, free: 1.141 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.2855, allocations: 157.7 kB / 436.4 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.2855, allocations: 25.7 kB / 436.4 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.921e-05/0.2856, allocations: 128.1 kB / 436.6 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.2856, allocations: 23.8 kB / 436.6 MB, free: 0.793 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.2856, allocations: 21.7 kB / 436.6 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.2858, allocations: 322.8 kB / 436.9 MB, free: 452 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.833e-05/0.2858, allocations: 27.98 kB / 436.9 MB, free: 424 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.352e-05/0.2859, allocations: 50.56 kB / 437 MB, free: 364 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.2861, allocations: 62.56 kB / 437.1 MB, free: 292 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2861, allocations: 3.984 kB / 437.1 MB, free: 288 kB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002857/0.2864, allocations: 142.3 kB / 437.2 MB, free: 136 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.2864, allocations: 4 kB / 437.2 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.2864, allocations: 0 / 437.2 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001951/0.2866, allocations: 40.83 kB / 437.2 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.812e-05/0.2866, allocations: 4 kB / 437.2 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001607/0.2882, allocations: 1.585 MB / 438.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.394e-05/0.2883, allocations: 4 kB / 438.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.2883, allocations: 3.938 kB / 438.8 MB, free: 14.38 MB / 350.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.0001147/0.2884, allocations: 129.8 kB / 439 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.2884, allocations: 7.953 kB / 439 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.203e-05/0.2885, allocations: 12.84 kB / 439 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.2885, allocations: 0 / 439 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.2885, allocations: 12 kB / 439 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.2885, allocations: 4.031 kB / 439 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.2887, allocations: 184.6 kB / 439.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2887, allocations: 192 / 439.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.13e-05/0.2887, allocations: 0 / 439.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001705/0.2889, allocations: 44.77 kB / 439.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.2889, allocations: 0 / 439.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/0.2909, allocations: 1.566 MB / 440.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2909, allocations: 0 / 440.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004673/0.2913, allocations: 220.3 kB / 441 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.919e-05/0.2914, allocations: 7.953 kB / 441 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.2914, allocations: 0 / 441 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.2915, allocations: 4 kB / 441 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.913e-05/0.2916, allocations: 11.98 kB / 441 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.2916, allocations: 64 / 441 MB, free: 12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001404/0.2917, allocations: 122.8 kB / 441.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2917, allocations: 0 / 441.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000603/0.2924, allocations: 43.89 kB / 441.2 MB, free: 11.84 MB / 350.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.0008055/0.2932, allocations: 0.7405 MB / 441.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005891/0.2937, allocations: 186.7 kB / 442.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2937, allocations: 4 kB / 442.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003099/0.2941, allocations: 154.6 kB / 442.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.2945, allocations: 10.81 kB / 442.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/0.2977, allocations: 1.726 MB / 444 MB, free: 8.867 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.2978, allocations: 94.27 kB / 444.1 MB, free: 8.758 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.172e-05/0.2979, allocations: 8.438 kB / 444.1 MB, free: 8.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.292e-05/0.298, allocations: 35.42 kB / 444.1 MB, free: 8.715 MB / 350.1 MB Notification: Performance of SimCode: time 7.21e-07/0.298, allocations: 0 / 444.1 MB, free: 8.715 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03378/0.3318, allocations: 3.481 MB / 447.6 MB, free: 5.352 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.49, allocations: 3.984 kB / 447.6 MB, free: 5.348 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 Modelica_trunk_Modelica_Electrical_Analog_Examples_Resistor.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Resistor/Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable resistor.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor_res.csv. Warning: Get data of variable resistor.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor_res.csv failed! Error: Could not read variable resistor.LossPower in file Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor_res.csv. Warning: Get data of variable resistor.LossPower from file Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.08785802917555]