Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.001648/0.001648, allocations: 116.9 kB / 18.45 MB, free: 4.609 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.002232/0.002232, allocations: 216.3 kB / 21.41 MB, free: 1.648 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.557/1.557, allocations: 207.6 MB / 231.8 MB, free: 4.082 MB / 174.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.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",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.001841/0.001841, allocations: 56.55 kB / 342.3 MB, free: 9.98 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1203, allocations: 49.12 MB / 391.4 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004834/0.1251, allocations: 3.201 MB / 394.6 MB, free: 5.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002004/0.1271, allocations: 1.002 MB / 395.6 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001888/0.1273, allocations: 4 kB / 395.6 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002114/0.1275, allocations: 59.36 kB / 395.7 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003922/0.1279, allocations: 126.9 kB / 395.8 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.1283, allocations: 143.7 kB / 396 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005649/0.1288, allocations: 493.8 kB / 396.4 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002282/0.1291, allocations: 110.9 kB / 396.5 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002439/0.1293, allocations: 191.3 kB / 396.7 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000273/0.1296, allocations: 211.1 kB / 396.9 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.363e-05/0.1296, allocations: 40 kB / 397 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000154/0.1298, allocations: 71.97 kB / 397 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.617e-05/0.1299, allocations: 95.61 kB / 397.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002227/0.1301, allocations: 215 kB / 397.3 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005766/0.1307, allocations: 0.4902 MB / 397.8 MB, free: 2.242 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1307, allocations: 0 / 397.8 MB, free: 2.242 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1307, allocations: 0 / 397.8 MB, free: 2.242 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.1307, allocations: 4 kB / 397.8 MB, free: 2.238 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001446/0.1322, allocations: 0.7477 MB / 398.6 MB, free: 1.441 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.1322, allocations: 15.97 kB / 398.6 MB, free: 1.426 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.481e-05/0.1323, allocations: 66.72 kB / 398.7 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.1324, allocations: 48.66 kB / 398.7 MB, free: 1.305 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004736/0.1329, allocations: 315.5 kB / 399 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.1329, allocations: 25.03 kB / 399.1 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.213e-05/0.133, allocations: 36.38 kB / 399.1 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006796/0.1336, allocations: 357.1 kB / 399.4 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1337, allocations: 0 / 399.4 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.603e-05/0.1337, allocations: 16 kB / 399.5 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.1337, allocations: 8 kB / 399.5 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005196/0.1342, allocations: 230.5 kB / 399.7 MB, free: 292 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00205/0.1363, allocations: 1.167 MB / 400.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007143/0.137, allocations: 264.5 kB / 401.1 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005442/0.1375, allocations: 201.2 kB / 401.3 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009155/0.1385, allocations: 1.117 MB / 402.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/0.1385, allocations: 38.8 kB / 402.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 1.923e-06/0.1385, allocations: 0 / 402.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001475/0.14, allocations: 0.536 MB / 403 MB, free: 12.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.14, allocations: 81.11 kB / 403.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004178/0.1405, allocations: 341.6 kB / 403.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.1405, allocations: 29.7 kB / 403.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.1406, allocations: 220.5 kB / 403.7 MB, free: 11.9 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.969e-05/0.1407, allocations: 103.1 kB / 403.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.1409, allocations: 74.02 kB / 403.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.141, allocations: 350.7 kB / 404.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002526/0.1413, allocations: 104.7 kB / 404.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003098/0.1416, allocations: 185.8 kB / 404.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005343/0.1421, allocations: 288.2 kB / 404.7 MB, free: 10.74 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.1421, allocations: 4 kB / 404.7 MB, free: 10.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008624/0.143, allocations: 433 kB / 405.2 MB, free: 10.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.143, allocations: 8 kB / 405.2 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.143, allocations: 0 / 405.2 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000282/0.1433, allocations: 73.06 kB / 405.2 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003429/0.1437, allocations: 75.89 kB / 405.3 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/0.1458, allocations: 1.955 MB / 407.3 MB, free: 8.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.1461, allocations: 43.83 kB / 407.3 MB, free: 8.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.851e-05/0.1461, allocations: 16.02 kB / 407.3 MB, free: 7.996 MB / 334.1 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.0001905/0.1463, allocations: 161.6 kB / 407.5 MB, free: 7.828 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.77e-05/0.1464, allocations: 35.77 kB / 407.5 MB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007658/0.1471, allocations: 330.3 kB / 407.8 MB, free: 7.461 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.1471, allocations: 0 / 407.8 MB, free: 7.461 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1471, allocations: 7.938 kB / 407.9 MB, free: 7.453 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1472, allocations: 0 / 407.9 MB, free: 7.453 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005074/0.1477, allocations: 393.2 kB / 408.2 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.1477, allocations: 0 / 408.2 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003671/0.148, allocations: 59.89 kB / 408.3 MB, free: 6.961 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002248/0.1483, allocations: 64.81 kB / 408.4 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.1483, allocations: 11.98 kB / 408.4 MB, free: 6.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004741/0.1488, allocations: 0.5992 MB / 409 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1488, allocations: 0 / 409 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009803/0.1497, allocations: 0.5211 MB / 409.5 MB, free: 5.719 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.1499, allocations: 128.8 kB / 409.6 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.655e-05/0.1499, allocations: 8 kB / 409.6 MB, free: 5.566 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002747/0.1502, allocations: 23.97 kB / 409.6 MB, free: 5.543 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.1503, allocations: 19.98 kB / 409.7 MB, free: 5.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.1503, allocations: 11.98 kB / 409.7 MB, free: 5.512 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000268/0.1505, allocations: 239.2 kB / 409.9 MB, free: 5.277 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1505, allocations: 0 / 409.9 MB, free: 5.277 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004688/0.151, allocations: 107.8 kB / 410 MB, free: 5.172 MB / 334.1 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.00149/0.1525, allocations: 1.108 MB / 411.1 MB, free: 4.035 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009193/0.1534, allocations: 398.4 kB / 411.5 MB, free: 3.633 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1534, allocations: 0 / 411.5 MB, free: 3.633 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003756/0.1538, allocations: 131.9 kB / 411.6 MB, free: 3.504 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.1542, allocations: 45.27 kB / 411.7 MB, free: 3.457 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0056/0.1598, allocations: 3.748 MB / 415.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004537/0.1602, allocations: 0.7989 MB / 416.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001487/0.1604, allocations: 38.95 kB / 416.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/0.1606, allocations: 127.4 kB / 416.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of SimCode: time 1.112e-06/0.1606, allocations: 0 / 416.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04195/0.2025, allocations: 7.797 MB / 424.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.1, allocations: 8.594 kB / 424.2 MB, free: 6.727 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv. Warning: Get data of variable opAmp.v_source from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv failed! Error: Could not read variable opAmp.x in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv. Warning: Get data of variable opAmp.x from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.837359989003744]