Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.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.001755/0.001755, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002056/0.002056, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.467/1.467, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.OpAmps.Adder,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 51.92 kB / 373 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1066, allocations: 53.33 MB / 426.4 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004636/0.1112, allocations: 3.207 MB / 429.6 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.1127, allocations: 0.8219 MB / 430.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.1129, allocations: 15.88 kB / 430.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.113, allocations: 55.44 kB / 430.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.1132, allocations: 115 kB / 430.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.1136, allocations: 131.8 kB / 430.7 MB, free: 404 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1973/0.3109, allocations: 444.3 kB / 431.1 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003704/0.3112, allocations: 111.5 kB / 431.2 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004897/0.3117, allocations: 178.1 kB / 431.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002468/0.312, allocations: 184.1 kB / 431.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.76e-05/0.312, allocations: 43.44 kB / 431.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.3122, allocations: 46.17 kB / 431.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.767e-05/0.3122, allocations: 84.7 kB / 431.8 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001964/0.3124, allocations: 202.3 kB / 432 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005821/0.313, allocations: 0.4996 MB / 432.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.313, allocations: 0.9062 kB / 432.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.313, allocations: 0.625 kB / 432.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.313, allocations: 0 / 432.5 MB, free: 7.461 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001006/0.314, allocations: 0.6799 MB / 433.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.3141, allocations: 9.969 kB / 433.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.785e-05/0.3142, allocations: 69.22 kB / 433.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.3143, allocations: 51.56 kB / 433.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003901/0.3147, allocations: 309.4 kB / 433.6 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.3148, allocations: 23.56 kB / 433.6 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/0.3148, allocations: 30.94 kB / 433.6 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005624/0.3154, allocations: 351.3 kB / 434 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3154, allocations: 4.125 kB / 434 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.3154, allocations: 13.06 kB / 434 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.3154, allocations: 7.156 kB / 434 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005369/0.3159, allocations: 270 kB / 434.3 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.3177, allocations: 1.264 MB / 435.5 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005921/0.3183, allocations: 285.5 kB / 435.8 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/0.3185, allocations: 92.27 kB / 435.9 MB, free: 5.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.3186, allocations: 2.219 kB / 435.9 MB, free: 5.957 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.3186, allocations: 37.8 kB / 435.9 MB, free: 5.914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.3186, allocations: 0 / 435.9 MB, free: 5.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002102/0.3207, allocations: 0.6394 MB / 436.6 MB, free: 5.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/0.3207, allocations: 54.67 kB / 436.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.321, allocations: 302 kB / 436.9 MB, free: 5.578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.321, allocations: 30.64 kB / 436.9 MB, free: 5.547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.3211, allocations: 222 kB / 437.2 MB, free: 5.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.3212, allocations: 56.28 kB / 437.2 MB, free: 5.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.659e-05/0.3213, allocations: 54.64 kB / 437.3 MB, free: 5.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.597e-05/0.3213, allocations: 338.8 kB / 437.6 MB, free: 5.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.3215, allocations: 75.16 kB / 437.7 MB, free: 5.031 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.3218, allocations: 165.9 kB / 437.8 MB, free: 4.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004339/0.3222, allocations: 247.1 kB / 438.1 MB, free: 4.824 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3222, allocations: 1.031 kB / 438.1 MB, free: 4.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009479/0.3232, allocations: 405.7 kB / 438.5 MB, free: 4.719 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.3232, allocations: 10.56 kB / 438.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3232, allocations: 2.406 kB / 438.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004406/0.3236, allocations: 108.4 kB / 438.6 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.3238, allocations: 37.83 kB / 438.6 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002865/0.3266, allocations: 2.175 MB / 440.8 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/0.3269, allocations: 42.05 kB / 440.8 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.327, allocations: 13.05 kB / 440.9 MB, free: 2.895 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (22): * Single equations (assignments): 21 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002114/0.3272, allocations: 150.4 kB / 441 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.816e-05/0.3272, allocations: 25.38 kB / 441 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.533e-05/0.3273, allocations: 28.47 kB / 441.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.3273, allocations: 6.625 kB / 441.1 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.3273, allocations: 0.5 kB / 441.1 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3273, allocations: 4.516 kB / 441.1 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.3289, allocations: 0.7226 MB / 441.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.768e-06/0.3289, allocations: 0.875 kB / 441.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.665e-05/0.329, allocations: 13.53 kB / 441.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000403/0.3294, allocations: 100.7 kB / 441.9 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.3294, allocations: 9.438 kB / 441.9 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002771/0.3322, allocations: 2.165 MB / 444.1 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3322, allocations: 3.938 kB / 444.1 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009186/0.3331, allocations: 409.4 kB / 444.5 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.301e-05/0.3332, allocations: 113.8 kB / 444.6 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.3332, allocations: 5.188 kB / 444.6 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.3334, allocations: 24.38 kB / 444.6 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.923e-05/0.3335, allocations: 14.25 kB / 444.6 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.3335, allocations: 7.188 kB / 444.6 MB, free: 124 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002147/0.3337, allocations: 209.7 kB / 444.8 MB, free: 4 kB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3337, allocations: 1.094 kB / 444.8 MB, free: 4 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005886/0.3343, allocations: 87.55 kB / 444.9 MB, free: 15.99 MB / 366.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 (8): * Single equations (assignments): 7 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001363/0.3357, allocations: 0.946 MB / 445.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008406/0.3365, allocations: 338.3 kB / 446.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3365, allocations: 1.156 kB / 446.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004026/0.3369, allocations: 225.2 kB / 446.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.3373, allocations: 39.56 kB / 446.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005385/0.3427, allocations: 3.141 MB / 449.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004798/0.3432, allocations: 0.7682 MB / 450.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00013/0.3433, allocations: 28.02 kB / 450.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.3435, allocations: 96.64 kB / 450.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of SimCode: time 1.412e-06/0.3435, allocations: 0 / 450.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04734/0.3908, allocations: 6.68 MB / 457.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.8, allocations: 11.38 kB / 457.2 MB, free: 10.52 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable vOut.v in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.csv. Warning: Get data of variable vOut.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.320757287991]