Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.001388/0.001388, allocations: 107.6 kB / 21.18 MB, free: 0.6094 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.001475/0.001475, allocations: 215 kB / 24.48 MB, free: 3.934 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.375/1.375, allocations: 207.7 MB / 235.3 MB, free: 9.812 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.ShowVariableResistor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowVariableResistor",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.001874/0.001874, allocations: 59.42 kB / 347.2 MB, free: 9.992 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2636, allocations: 49.15 MB / 396.4 MB, free: 8.836 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.003399/0.267, allocations: 2.731 MB / 399.1 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009849/0.268, allocations: 0.6953 MB / 399.8 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.2682, allocations: 5.656 kB / 399.8 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.2683, allocations: 60.73 kB / 399.8 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.2685, allocations: 106.4 kB / 399.9 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.2687, allocations: 83.78 kB / 400 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000364/0.2691, allocations: 418.8 kB / 400.4 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.2693, allocations: 76.8 kB / 400.5 MB, free: 6.109 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.2695, allocations: 159.8 kB / 400.7 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.2697, allocations: 140.4 kB / 400.8 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.591e-05/0.2697, allocations: 33 kB / 400.8 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.57e-05/0.2698, allocations: 31.66 kB / 400.9 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.574e-05/0.2699, allocations: 73.69 kB / 400.9 MB, free: 5.926 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.27, allocations: 152.3 kB / 401.1 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004137/0.2704, allocations: 395.4 kB / 401.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.2704, allocations: 1.125 kB / 401.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2704, allocations: 0 / 401.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.2704, allocations: 0 / 401.5 MB, free: 5.695 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0008714/0.2713, allocations: 0.5658 MB / 402 MB, free: 5.273 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.2713, allocations: 14.12 kB / 402.1 MB, free: 5.27 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.931e-05/0.2714, allocations: 61.91 kB / 402.1 MB, free: 5.215 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.326e-05/0.2715, allocations: 40.02 kB / 402.2 MB, free: 5.195 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.2718, allocations: 224.9 kB / 402.4 MB, free: 5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.2718, allocations: 23.88 kB / 402.4 MB, free: 4.988 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/0.2718, allocations: 26.25 kB / 402.4 MB, free: 4.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005483/0.2724, allocations: 413.4 kB / 402.8 MB, free: 4.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.2724, allocations: 0 / 402.8 MB, free: 4.68 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.2724, allocations: 17.61 kB / 402.8 MB, free: 4.668 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.2724, allocations: 5.875 kB / 402.9 MB, free: 4.668 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004307/0.2729, allocations: 217.8 kB / 403.1 MB, free: 4.598 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.2743, allocations: 0.8611 MB / 403.9 MB, free: 4.023 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004645/0.2748, allocations: 210.3 kB / 404.1 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.275, allocations: 93.25 kB / 404.2 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.275, allocations: 3.531 kB / 404.2 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.275, allocations: 36.03 kB / 404.3 MB, free: 3.852 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.512e-06/0.275, allocations: 0 / 404.3 MB, free: 3.852 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001175/0.2762, allocations: 419.2 kB / 404.7 MB, free: 3.684 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/0.2762, allocations: 53.94 kB / 404.7 MB, free: 3.621 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.2765, allocations: 261.8 kB / 405 MB, free: 3.465 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.2765, allocations: 35.05 kB / 405 MB, free: 3.426 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.77e-05/0.2766, allocations: 185 kB / 405.2 MB, free: 3.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.377e-05/0.2766, allocations: 73.92 kB / 405.3 MB, free: 3.211 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.591e-05/0.2767, allocations: 45.61 kB / 405.3 MB, free: 3.18 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.849e-05/0.2768, allocations: 335.3 kB / 405.6 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.2769, allocations: 77.78 kB / 405.7 MB, free: 2.832 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.2772, allocations: 106.5 kB / 405.8 MB, free: 2.781 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003654/0.2775, allocations: 197.9 kB / 406 MB, free: 2.68 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2775, allocations: 0 / 406 MB, free: 2.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006147/0.2781, allocations: 317.9 kB / 406.3 MB, free: 2.531 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.2782, allocations: 5.438 kB / 406.3 MB, free: 2.531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.2782, allocations: 5.891 kB / 406.3 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002783/0.2784, allocations: 74.58 kB / 406.4 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.2786, allocations: 42.33 kB / 406.4 MB, free: 2.488 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/0.2804, allocations: 2.834 MB / 409.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.2806, allocations: 24.59 kB / 409.3 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.2806, allocations: 5.75 kB / 409.3 MB, free: 15.76 MB / 334.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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001542/0.2807, allocations: 143.5 kB / 409.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.516e-05/0.2808, allocations: 29.03 kB / 409.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.526e-05/0.2809, allocations: 30.88 kB / 409.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.2809, allocations: 6.656 kB / 409.5 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.2809, allocations: 6.656 kB / 409.5 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.2809, allocations: 1.031 kB / 409.5 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.2819, allocations: 0.6147 MB / 410.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.2819, allocations: 0 / 410.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.2821, allocations: 27.27 kB / 410.2 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001886/0.2823, allocations: 78.81 kB / 410.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.2823, allocations: 5.375 kB / 410.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00235/0.2846, allocations: 2.816 MB / 413.1 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2846, allocations: 1.219 kB / 413.1 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006396/0.2853, allocations: 385.4 kB / 413.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.244e-05/0.2853, allocations: 30.05 kB / 413.5 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.2854, allocations: 9.812 kB / 413.5 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/0.2856, allocations: 31.12 kB / 413.5 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.576e-05/0.2857, allocations: 19.88 kB / 413.5 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.2857, allocations: 4.125 kB / 413.5 MB, free: 12.14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000187/0.2859, allocations: 190.4 kB / 413.7 MB, free: 12.03 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2859, allocations: 0 / 413.7 MB, free: 12.03 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003786/0.2863, allocations: 95.64 kB / 413.8 MB, free: 12.01 MB / 334.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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009418/0.2872, allocations: 0.9136 MB / 414.7 MB, free: 11.24 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007584/0.288, allocations: 432.6 kB / 415.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.288, allocations: 0 / 415.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004371/0.2884, allocations: 339 kB / 415.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.2888, allocations: 52.34 kB / 415.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003777/0.2926, allocations: 2.705 MB / 418.2 MB, free: 8.836 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.2928, allocations: 161.7 kB / 418.4 MB, free: 8.746 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.2929, allocations: 25.64 kB / 418.4 MB, free: 8.738 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.293, allocations: 87.66 kB / 418.5 MB, free: 8.672 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.293, allocations: 0 / 418.5 MB, free: 8.672 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04/0.333, allocations: 7.368 MB / 425.9 MB, free: 4.523 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.71, allocations: 1.156 kB / 425.9 MB, free: 4.523 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowVariableResistor.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable VariableResistor.i in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.csv. Warning: Get data of variable VariableResistor.i from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.csv failed! Error: Could not read variable R2.i in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.csv. Warning: Get data of variable R2.i from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.146825214847922]