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.0008358/0.0008358, allocations: 87.62 kB / 21.43 MB, free: 3.129 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.004132/0.004132, allocations: 165.8 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8307/0.8307, allocations: 158.6 MB / 186.5 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 298.4 MB, free: 3.613 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.112e-05, allocations: 6.219 kB / 298.4 MB, free: 3.605 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003307/0.003328, allocations: 2.914 MB / 301.4 MB, free: 0.668 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1336/0.1369, allocations: 0.9384 MB / 302.3 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002672/0.1372, allocations: 4.281 kB / 302.3 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.1374, allocations: 60.8 kB / 302.4 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003722/0.1377, allocations: 135 kB / 302.5 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003521/0.1381, allocations: 152.5 kB / 302.6 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003898/0.1385, allocations: 0.495 MB / 303.1 MB, free: 13 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.1387, allocations: 87.89 kB / 303.2 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003045/0.139, allocations: 283.4 kB / 303.5 MB, free: 12.96 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.1392, allocations: 154.7 kB / 303.6 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.582e-05/0.1392, allocations: 38.69 kB / 303.7 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.1394, allocations: 70.06 kB / 303.8 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.871e-05/0.1394, allocations: 92.06 kB / 303.8 MB, free: 12.93 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.1395, allocations: 153.1 kB / 304 MB, free: 12.91 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005044/0.14, allocations: 0.5079 MB / 304.5 MB, free: 12.86 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1401, allocations: 0.9844 kB / 304.5 MB, free: 12.86 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1401, allocations: 1.062 kB / 304.5 MB, free: 12.86 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.188e-06/0.1401, allocations: 4.5 kB / 304.5 MB, free: 12.86 MB / 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.0008653/0.1409, allocations: 0.665 MB / 305.2 MB, free: 12.39 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.141, allocations: 14.45 kB / 305.2 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.373e-05/0.141, allocations: 68.11 kB / 305.3 MB, free: 12.33 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.231e-05/0.1411, allocations: 50.48 kB / 305.3 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.1414, allocations: 244.7 kB / 305.5 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.1414, allocations: 27 kB / 305.6 MB, free: 12.1 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.52e-05/0.1415, allocations: 36.06 kB / 305.6 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004596/0.1419, allocations: 450.5 kB / 306 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.142, allocations: 0.7969 kB / 306 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.142, allocations: 15.97 kB / 306.1 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.142, allocations: 8.375 kB / 306.1 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003223/0.1423, allocations: 228.6 kB / 306.3 MB, free: 11.71 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.1435, allocations: 1.048 MB / 307.3 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004363/0.144, allocations: 249.1 kB / 307.6 MB, free: 10.94 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003339/0.1443, allocations: 188 kB / 307.8 MB, free: 10.89 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002304/0.1445, allocations: 78.84 kB / 307.8 MB, free: 10.88 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.1446, allocations: 33.42 kB / 307.9 MB, free: 10.84 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 1.563e-06/0.1446, allocations: 1.688 kB / 307.9 MB, free: 10.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0008254/0.1454, allocations: 449.9 kB / 308.3 MB, free: 10.67 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.1454, allocations: 82.02 kB / 308.4 MB, free: 10.57 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.1457, allocations: 343.2 kB / 308.7 MB, free: 10.39 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.1457, allocations: 31.98 kB / 308.8 MB, free: 10.36 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.331e-05/0.1458, allocations: 215 kB / 309 MB, free: 10.18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.346e-05/0.1458, allocations: 106.6 kB / 309.1 MB, free: 10.09 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.533e-05/0.1459, allocations: 66.64 kB / 309.1 MB, free: 10.05 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.011e-05/0.1459, allocations: 350.6 kB / 309.5 MB, free: 9.719 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.1461, allocations: 99.58 kB / 309.6 MB, free: 9.688 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.1463, allocations: 199.9 kB / 309.8 MB, free: 9.539 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002942/0.1466, allocations: 293.4 kB / 310.1 MB, free: 9.352 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1466, allocations: 1.688 kB / 310.1 MB, free: 9.352 MB / 282.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005099/0.1471, allocations: 418.8 kB / 310.5 MB, free: 9.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1471, allocations: 5.438 kB / 310.5 MB, free: 9.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.1471, allocations: 3.266 kB / 310.5 MB, free: 9.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001959/0.1473, allocations: 75.97 kB / 310.6 MB, free: 9.133 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.1475, allocations: 80.95 kB / 310.6 MB, free: 9.121 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001068/0.1485, allocations: 1.827 MB / 312.5 MB, free: 7.508 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.1487, allocations: 41.86 kB / 312.5 MB, free: 7.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.1487, allocations: 16.83 kB / 312.5 MB, free: 7.477 MB / 282.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 9.357e-05/0.1488, allocations: 149.9 kB / 312.7 MB, free: 7.336 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.925e-05/0.1488, allocations: 41.75 kB / 312.7 MB, free: 7.312 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004363/0.1493, allocations: 316.1 kB / 313 MB, free: 7.164 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1493, allocations: 2.531 kB / 313 MB, free: 7.164 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.1493, allocations: 1.781 kB / 313 MB, free: 7.164 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1493, allocations: 1.312 kB / 313 MB, free: 7.164 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.1495, allocations: 325.8 kB / 313.3 MB, free: 6.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1495, allocations: 0 / 313.3 MB, free: 6.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.1497, allocations: 56.03 kB / 313.4 MB, free: 6.926 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001484/0.1498, allocations: 59.5 kB / 313.5 MB, free: 6.906 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.1499, allocations: 9.391 kB / 313.5 MB, free: 6.902 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002059/0.1501, allocations: 0.6108 MB / 314.1 MB, free: 6.332 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1501, allocations: 0 / 314.1 MB, free: 6.332 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005586/0.1506, allocations: 0.4991 MB / 314.6 MB, free: 6.047 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.187e-05/0.1507, allocations: 59.77 kB / 314.6 MB, free: 6.012 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.1507, allocations: 6.859 kB / 314.6 MB, free: 6.008 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.1509, allocations: 24.17 kB / 314.7 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.1509, allocations: 22.64 kB / 314.7 MB, free: 5.992 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.1509, allocations: 7.016 kB / 314.7 MB, free: 5.992 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001667/0.1511, allocations: 240.4 kB / 314.9 MB, free: 5.863 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1511, allocations: 0 / 314.9 MB, free: 5.863 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003016/0.1514, allocations: 110.5 kB / 315 MB, free: 5.84 MB / 282.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.0007314/0.1521, allocations: 1.07 MB / 316.1 MB, free: 5.012 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005265/0.1526, allocations: 385.1 kB / 316.5 MB, free: 4.809 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1526, allocations: 1.344 kB / 316.5 MB, free: 4.809 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.1528, allocations: 127.8 kB / 316.6 MB, free: 4.773 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.1531, allocations: 47.28 kB / 316.6 MB, free: 4.75 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003339/0.1565, allocations: 3.609 MB / 320.3 MB, free: 2.473 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.1566, allocations: 191 kB / 320.4 MB, free: 2.383 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.1568, allocations: 38.38 kB / 320.5 MB, free: 2.375 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.1569, allocations: 126.6 kB / 320.6 MB, free: 2.281 MB / 282.7 MB Notification: Performance of SimCode: time 1.152e-06/0.1569, allocations: 0 / 320.6 MB, free: 2.281 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02646/0.1833, allocations: 8.513 MB / 329.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.526/8.71, allocations: 1.375 kB / 329.1 MB, free: 14.43 MB / 298.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins/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: 10.390634568408132]