Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000871/0.000871, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 149.4 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8989/0.8989, allocations: 173.3 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.895e-06/2.895e-06, allocations: 0 / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.941e-05/3.23e-05, allocations: 2.281 kB / 318.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.00394/0.003972, allocations: 2.934 MB / 321.4 MB, free: 3.395 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.005472, allocations: 0.9116 MB / 322.3 MB, free: 2.477 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001992/0.005671, allocations: 8 kB / 322.3 MB, free: 2.469 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001922/0.005863, allocations: 67.3 kB / 322.4 MB, free: 2.402 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003788/0.006242, allocations: 122.9 kB / 322.5 MB, free: 2.281 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.006573, allocations: 159.5 kB / 322.6 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000352/0.006925, allocations: 0.4938 MB / 323.1 MB, free: 1.629 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/0.00712, allocations: 83.7 kB / 323.2 MB, free: 1.543 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002939/0.007414, allocations: 287.4 kB / 323.5 MB, free: 1.262 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.007565, allocations: 151.5 kB / 323.6 MB, free: 1.113 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.388e-05/0.007609, allocations: 40 kB / 323.7 MB, free: 1.074 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.007722, allocations: 71.97 kB / 323.7 MB, free: 1.004 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.579e-05/0.007778, allocations: 99.58 kB / 323.8 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.51e-05/0.007873, allocations: 147.7 kB / 324 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007117/0.008585, allocations: 0.5061 MB / 324.5 MB, free: 260 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.00859, allocations: 0 / 324.5 MB, free: 260 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.008591, allocations: 0 / 324.5 MB, free: 260 kB / 282.7 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.0086, allocations: 4 kB / 324.5 MB, free: 256 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009836/0.009584, allocations: 0.6561 MB / 325.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.009636, allocations: 12.92 kB / 325.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.616e-05/0.009702, allocations: 66.72 kB / 325.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.025e-05/0.009773, allocations: 48.66 kB / 325.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.01014, allocations: 248.6 kB / 325.5 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.01016, allocations: 25.03 kB / 325.5 MB, free: 15.13 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.242e-05/0.01021, allocations: 40.33 kB / 325.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000518/0.01073, allocations: 448.4 kB / 326 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.01074, allocations: 4.188 kB / 326 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.01077, allocations: 20.12 kB / 326.1 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.01078, allocations: 11.94 kB / 326.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003117/0.01109, allocations: 222.5 kB / 326.3 MB, free: 14.37 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.01242, allocations: 1.035 MB / 327.3 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005353/0.01295, allocations: 251.5 kB / 327.6 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003303/0.01328, allocations: 200.8 kB / 327.8 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002088/0.01349, allocations: 72.16 kB / 327.8 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.01352, allocations: 38.8 kB / 327.9 MB, free: 12.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 1.773e-06/0.01352, allocations: 0 / 327.9 MB, free: 12.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.0008873/0.01441, allocations: 441.2 kB / 328.3 MB, free: 12.26 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.01446, allocations: 85.05 kB / 328.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002683/0.01473, allocations: 340.4 kB / 328.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.01475, allocations: 29.7 kB / 328.7 MB, free: 11.78 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.01486, allocations: 212.5 kB / 328.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.252e-05/0.01491, allocations: 107.1 kB / 329.1 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.545e-05/0.01499, allocations: 74.02 kB / 329.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.01509, allocations: 346.8 kB / 329.5 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.01524, allocations: 100.7 kB / 329.6 MB, free: 10.94 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.01543, allocations: 199.5 kB / 329.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.01574, allocations: 292.5 kB / 330 MB, free: 10.39 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.01574, allocations: 0 / 330 MB, free: 10.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005064/0.01625, allocations: 421.6 kB / 330.5 MB, free: 9.973 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.01626, allocations: 4 kB / 330.5 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.01627, allocations: 4 kB / 330.5 MB, free: 9.965 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000197/0.01647, allocations: 68.75 kB / 330.5 MB, free: 9.895 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.01664, allocations: 67.91 kB / 330.6 MB, free: 9.828 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/0.0182, allocations: 1.832 MB / 332.4 MB, free: 7.887 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.01835, allocations: 43.67 kB / 332.5 MB, free: 7.844 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.01837, allocations: 20 kB / 332.5 MB, free: 7.824 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 36 * 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): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.0185, allocations: 161.7 kB / 332.6 MB, free: 7.656 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.01854, allocations: 39.7 kB / 332.7 MB, free: 7.617 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004808/0.01902, allocations: 314.6 kB / 333 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.01903, allocations: 4 kB / 333 MB, free: 7.289 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-06/0.01903, allocations: 0 / 333 MB, free: 7.289 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.01903, allocations: 0 / 333 MB, free: 7.289 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002894/0.01932, allocations: 328.4 kB / 333.3 MB, free: 6.926 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.01932, allocations: 4 kB / 333.3 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.0195, allocations: 47.97 kB / 333.4 MB, free: 6.875 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001669/0.01967, allocations: 60.81 kB / 333.4 MB, free: 6.812 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.01968, allocations: 8.188 kB / 333.4 MB, free: 6.805 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003221/0.02001, allocations: 0.6146 MB / 334.1 MB, free: 6.164 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.02001, allocations: 4.062 kB / 334.1 MB, free: 6.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005757/0.02058, allocations: 0.5012 MB / 334.6 MB, free: 5.637 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.02063, allocations: 35.69 kB / 334.6 MB, free: 5.602 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.02066, allocations: 8 kB / 334.6 MB, free: 5.594 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.02079, allocations: 19.98 kB / 334.6 MB, free: 5.574 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.02083, allocations: 15.97 kB / 334.6 MB, free: 5.559 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.02085, allocations: 15.98 kB / 334.6 MB, free: 5.543 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001796/0.02103, allocations: 231.1 kB / 334.9 MB, free: 5.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02103, allocations: 0 / 334.9 MB, free: 5.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003562/0.02139, allocations: 107.8 kB / 335 MB, free: 5.215 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * 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 (20): * Single equations (assignments): 19 * 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.000902/0.02229, allocations: 1.072 MB / 336.1 MB, free: 4.113 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005915/0.02288, allocations: 398.1 kB / 336.4 MB, free: 3.711 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.02288, allocations: 0 / 336.4 MB, free: 3.711 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.02308, allocations: 127.9 kB / 336.6 MB, free: 3.586 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.02337, allocations: 40.8 kB / 336.6 MB, free: 3.551 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003894/0.02726, allocations: 3.614 MB / 340.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/0.0274, allocations: 190.5 kB / 340.4 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001292/0.02753, allocations: 30.97 kB / 340.4 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.02767, allocations: 132.5 kB / 340.6 MB, free: 15.43 MB / 314.7 MB Notification: Performance of SimCode: time 1.603e-06/0.02767, allocations: 0 / 340.6 MB, free: 15.43 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03016/0.05783, allocations: 8.506 MB / 349.1 MB, free: 7.109 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.2/8.258, allocations: 14.58 kB / 349.1 MB, free: 7.098 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv --start-time 0 --stop-time 0.003 --timeout 50 --relative-tolerance 2e-07 --interface-type ModelExchange --solver CVode --output-interval 1.2e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable opAmp.v_source in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv. Warning: Get data of variable opAmp.v_source from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv failed! Error: Could not read variable opAmp.x in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv. Warning: Get data of variable opAmp.x from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.10991978365928]