Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.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.0007882/0.0007882, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.00077/0.00077, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9032/0.9032, allocations: 177.2 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.ControlCircuit,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 324.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.316e-05/1.451e-05, allocations: 6.219 kB / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.005426/0.00544, allocations: 6.884 MB / 331.5 MB, free: 8.973 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002768/0.008208, allocations: 1.878 MB / 333.4 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004701/0.008678, allocations: 31.81 kB / 333.4 MB, free: 7.059 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003385/0.009016, allocations: 245.6 kB / 333.7 MB, free: 6.816 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005872/0.009604, allocations: 464 kB / 334.1 MB, free: 6.359 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007038/0.01031, allocations: 0.5187 MB / 334.6 MB, free: 5.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001194/0.0115, allocations: 1.867 MB / 336.5 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006843/0.01219, allocations: 408.3 kB / 336.9 MB, free: 3.547 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006265/0.01281, allocations: 0.994 MB / 337.9 MB, free: 2.551 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003972/0.01321, allocations: 0.5257 MB / 338.4 MB, free: 2.023 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.01335, allocations: 180 kB / 338.6 MB, free: 1.848 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.01348, allocations: 176 kB / 338.8 MB, free: 1.676 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.01364, allocations: 362.6 kB / 339.1 MB, free: 1.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003232/0.01396, allocations: 0.5417 MB / 339.7 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.01515, allocations: 2.091 MB / 341.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.01515, allocations: 8 kB / 341.8 MB, free: 14.67 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01515, allocations: 0 / 341.8 MB, free: 14.67 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.01516, allocations: 0 / 341.8 MB, free: 14.67 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.001869/0.01703, allocations: 1.735 MB / 343.5 MB, free: 12.9 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.01707, allocations: 8.031 kB / 343.5 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001501/0.01722, allocations: 190 kB / 343.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.01736, allocations: 160 kB / 343.8 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009914/0.01835, allocations: 0.6964 MB / 344.5 MB, free: 11.81 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.287e-05/0.0184, allocations: 86.83 kB / 344.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.01851, allocations: 124.1 kB / 344.7 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/0.02003, allocations: 1.643 MB / 346.4 MB, free: 9.832 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.02004, allocations: 0 / 346.4 MB, free: 9.832 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.872e-05/0.02011, allocations: 52 kB / 346.4 MB, free: 9.781 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.02013, allocations: 28 kB / 346.5 MB, free: 9.754 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.02156, allocations: 1.118 MB / 347.6 MB, free: 8.629 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004582/0.02614, allocations: 4.396 MB / 352 MB, free: 4.035 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.02753, allocations: 0.9879 MB / 353 MB, free: 3.023 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00066/0.02819, allocations: 494.4 kB / 353.4 MB, free: 2.531 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.895e-05/0.02823, allocations: 8.656 kB / 353.5 MB, free: 2.523 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.02826, allocations: 47.22 kB / 353.5 MB, free: 2.469 MB / 314.7 MB Notification: Performance of pre-optimization done (n=79): time 2.014e-06/0.02826, allocations: 3.938 kB / 353.5 MB, free: 2.465 MB / 314.7 MB Notification: Performance of matching and sorting (n=79): time 0.004291/0.03255, allocations: 2.481 MB / 356 MB, free: 15.96 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.03259, allocations: 85.77 kB / 356.1 MB, free: 15.86 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006396/0.03323, allocations: 0.8215 MB / 356.9 MB, free: 15.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/0.03326, allocations: 45.64 kB / 356.9 MB, free: 14.97 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002732/0.03354, allocations: 0.6014 MB / 357.5 MB, free: 14.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.03368, allocations: 293.5 kB / 357.8 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/0.03385, allocations: 166.6 kB / 358 MB, free: 13.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003914/0.03424, allocations: 341.9 kB / 358.3 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005172/0.03476, allocations: 373.8 kB / 358.7 MB, free: 13.2 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000599/0.03536, allocations: 0.5739 MB / 359.3 MB, free: 12.54 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.03643, allocations: 0.9559 MB / 360.2 MB, free: 11.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.03643, allocations: 0 / 360.2 MB, free: 11.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001698/0.03813, allocations: 1.358 MB / 361.6 MB, free: 10.12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.03815, allocations: 11.94 kB / 361.6 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.03816, allocations: 8 kB / 361.6 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004363/0.03859, allocations: 226.7 kB / 361.8 MB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/0.0403, allocations: 0.8311 MB / 362.6 MB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007406/0.0477, allocations: 10.16 MB / 372.8 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003832/0.04809, allocations: 147.2 kB / 372.9 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-05/0.04812, allocations: 36 kB / 373 MB, free: 14.01 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (111): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002603/0.04838, allocations: 273.9 kB / 373.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.131e-05/0.04848, allocations: 107.3 kB / 373.4 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.201e-05/0.04857, allocations: 104.9 kB / 373.5 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.04857, allocations: 8 kB / 373.5 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.04858, allocations: 7.938 kB / 373.5 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.04859, allocations: 3.984 kB / 373.5 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002709/0.05129, allocations: 2.266 MB / 375.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.0513, allocations: 12 kB / 375.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002733/0.05157, allocations: 119.9 kB / 375.9 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006537/0.05223, allocations: 428.8 kB / 376.3 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.05225, allocations: 15.98 kB / 376.3 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006886/0.05914, allocations: 10.2 MB / 386.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.05914, allocations: 3.938 kB / 386.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002436/0.06158, allocations: 1.937 MB / 388.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.06168, allocations: 111.2 kB / 388.6 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.999e-05/0.06174, allocations: 16 kB / 388.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003691/0.06211, allocations: 103.9 kB / 388.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.36e-05/0.0622, allocations: 68.41 kB / 388.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/0.06222, allocations: 24 kB / 388.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004362/0.06266, allocations: 0.5498 MB / 389.3 MB, free: 12.85 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.06266, allocations: 0 / 389.3 MB, free: 12.85 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007199/0.06338, allocations: 367.2 kB / 389.7 MB, free: 12.49 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (PIA.c.v,firstOrder1A.c.v,firstOrder2A.c.v,PIB.x,firstOrder1B.y,firstOrder2B.y) * 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 (58): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,5), (1,5), (1,1), (1,7), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002661/0.06604, allocations: 2.508 MB / 392.2 MB, free: 9.938 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003121/0.06916, allocations: 1.949 MB / 394.1 MB, free: 7.949 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.06917, allocations: 11.94 kB / 394.1 MB, free: 7.938 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008307/0.07, allocations: 1.132 MB / 395.3 MB, free: 6.723 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006048/0.0706, allocations: 207.7 kB / 395.5 MB, free: 6.523 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009689/0.08029, allocations: 9.248 MB / 404.7 MB, free: 12.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.08061, allocations: 492.3 kB / 405.2 MB, free: 12.44 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002384/0.08085, allocations: 103.5 kB / 405.3 MB, free: 12.33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003452/0.0812, allocations: 432.4 kB / 405.7 MB, free: 11.91 MB / 378.7 MB Notification: Performance of SimCode: time 7.31e-07/0.0812, allocations: 0 / 405.7 MB, free: 11.91 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03915/0.1203, allocations: 25.33 MB / 431.1 MB, free: 2.918 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.78/8.9, allocations: 12.98 kB / 431.1 MB, free: 2.91 MB / 394.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_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_ControlCircuit.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable firstOrder2B.y in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv. Warning: Get data of variable firstOrder2B.y from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv failed! Error: Could not read variable addA.opAmp.v_out in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv. Warning: Get data of variable addA.opAmp.v_out from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv failed! Error: Could not read variable addB.y in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv. Warning: Get data of variable addB.y from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,firstOrder1A.c.v,firstOrder1B.y,firstOrder2A.c.v,firstOrder2B.y,PIA.c.v,PIB.x,addA.opAmp.v_out,addB.y Variables in the result:time,PIA.c.v,PIB.x,firstOrder1A.c.v,firstOrder1B.y,firstOrder2A.c.v [Calling sys.exit(0), Time elapsed: 10.6814741557464]