Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001288/0.001288, allocations: 131.4 kB / 17.8 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001337/0.001337, allocations: 211.6 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 230.4 MB / 254 MB, free: 15.17 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 71.89 kB / 373 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1251, allocations: 53.37 MB / 426.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004798/0.1299, allocations: 3.119 MB / 429.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.1315, allocations: 0.7715 MB / 430.3 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.1317, allocations: 7.938 kB / 430.3 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.1319, allocations: 51.44 kB / 430.4 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002477/0.1321, allocations: 123 kB / 430.5 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003599/0.1325, allocations: 115.9 kB / 430.6 MB, free: 400 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005401/0.133, allocations: 450.3 kB / 431 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002262/0.1332, allocations: 98.86 kB / 431.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003392/0.1336, allocations: 179.3 kB / 431.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002534/0.1338, allocations: 195.1 kB / 431.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.269e-05/0.1339, allocations: 44 kB / 431.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.521e-05/0.134, allocations: 44 kB / 431.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.594e-05/0.1341, allocations: 87.69 kB / 431.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002065/0.1343, allocations: 203 kB / 431.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005564/0.1348, allocations: 0.4942 MB / 432.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1348, allocations: 4 kB / 432.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1348, allocations: 0 / 432.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.1348, allocations: 0 / 432.4 MB, free: 14.61 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.00138/0.1362, allocations: 0.7069 MB / 433.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.1363, allocations: 12.03 kB / 433.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.73e-05/0.1363, allocations: 58.73 kB / 433.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.614e-05/0.1364, allocations: 52.58 kB / 433.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005386/0.137, allocations: 318.8 kB / 433.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.137, allocations: 21.03 kB / 433.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.884e-05/0.1371, allocations: 28.12 kB / 433.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006841/0.1377, allocations: 314 kB / 433.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1377, allocations: 0 / 433.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.802e-05/0.1378, allocations: 19.92 kB / 433.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.1378, allocations: 4 kB / 433.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007584/0.1386, allocations: 282.5 kB / 434.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002241/0.1408, allocations: 1.227 MB / 435.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005909/0.1414, allocations: 194.4 kB / 435.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000297/0.1417, allocations: 104.8 kB / 435.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.1417, allocations: 0 / 435.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004641/0.1422, allocations: 192.8 kB / 435.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.1422, allocations: 4 kB / 435.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.001823/0.144, allocations: 0.5185 MB / 436.4 MB, free: 10.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.1441, allocations: 132.5 kB / 436.5 MB, free: 10.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003888/0.1445, allocations: 306.8 kB / 436.8 MB, free: 9.863 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.884e-05/0.1445, allocations: 33.7 kB / 436.8 MB, free: 9.824 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.1447, allocations: 212.3 kB / 437 MB, free: 9.613 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.928e-05/0.1448, allocations: 55.55 kB / 437.1 MB, free: 9.559 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.1449, allocations: 61.59 kB / 437.2 MB, free: 9.492 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.1451, allocations: 334.8 kB / 437.5 MB, free: 9.156 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003257/0.1454, allocations: 104.2 kB / 437.6 MB, free: 9.055 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003981/0.1458, allocations: 192.5 kB / 437.8 MB, free: 8.824 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006453/0.1464, allocations: 290.9 kB / 438.1 MB, free: 8.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.1464, allocations: 4 kB / 438.1 MB, free: 8.496 MB / 366.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001097/0.1475, allocations: 435.2 kB / 438.5 MB, free: 8.055 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.353e-05/0.1476, allocations: 32.05 kB / 438.5 MB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.1476, allocations: 8 kB / 438.5 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003755/0.148, allocations: 80.78 kB / 438.6 MB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.1482, allocations: 47.91 kB / 438.7 MB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002328/0.1505, allocations: 1.826 MB / 440.5 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003389/0.1509, allocations: 55.69 kB / 440.5 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.1509, allocations: 20.06 kB / 440.6 MB, free: 5.832 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,derivative.opAmp.satNeg,derivative.opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001894/0.1511, allocations: 141.8 kB / 440.7 MB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.078e-05/0.1512, allocations: 31.8 kB / 440.7 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.548e-05/0.1512, allocations: 34.14 kB / 440.8 MB, free: 5.617 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1512, allocations: 4 kB / 440.8 MB, free: 5.613 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.1512, allocations: 0 / 440.8 MB, free: 5.613 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.1513, allocations: 3.984 kB / 440.8 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000394/0.1516, allocations: 357.2 kB / 441.1 MB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1516, allocations: 4 kB / 441.1 MB, free: 5.207 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.1518, allocations: 27.97 kB / 441.1 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002883/0.1521, allocations: 76.73 kB / 441.2 MB, free: 5.102 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.1522, allocations: 7.984 kB / 441.2 MB, free: 5.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002087/0.1542, allocations: 1.807 MB / 443 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1542, allocations: 11.81 kB / 443 MB, free: 3.129 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.1554, allocations: 437.4 kB / 443.5 MB, free: 2.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.896e-05/0.1555, allocations: 105 kB / 443.6 MB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.1556, allocations: 4 kB / 443.6 MB, free: 2.555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.1558, allocations: 40.02 kB / 443.6 MB, free: 2.516 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.801e-05/0.1559, allocations: 19.97 kB / 443.6 MB, free: 2.496 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.1559, allocations: 8 kB / 443.6 MB, free: 2.488 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002385/0.1562, allocations: 210 kB / 443.9 MB, free: 2.285 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1562, allocations: 0 / 443.9 MB, free: 2.285 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003793/0.1565, allocations: 95.78 kB / 443.9 MB, free: 2.191 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.c.v) * Number of discrete variables: 5 ($whenCondition1,derivative.opAmp.satPos,derivative.opAmp.satNeg,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001555/0.1581, allocations: 0.9797 MB / 444.9 MB, free: 1.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009781/0.1591, allocations: 422.3 kB / 445.3 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.1591, allocations: 8.062 kB / 445.3 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004679/0.1595, allocations: 238.5 kB / 445.6 MB, free: 500 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.1599, allocations: 55.58 kB / 445.6 MB, free: 444 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2291/0.389, allocations: 3.296 MB / 448.9 MB, free: 22.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.3893, allocations: 0.7719 MB / 449.7 MB, free: 22.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000245/0.3896, allocations: 30.62 kB / 449.7 MB, free: 22.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.3898, allocations: 93.27 kB / 449.8 MB, free: 22.1 MB / 366.1 MB Notification: Performance of SimCode: time 1.983e-06/0.3898, allocations: 1.094 kB / 449.8 MB, free: 22.1 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05021/0.44, allocations: 7.748 MB / 457.6 MB, free: 21.4 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.34, allocations: 12.05 kB / 457.6 MB, free: 21.39 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_HighPass.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable derivative.opAmp.out.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv. Warning: Get data of variable derivative.opAmp.out.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv failed! Error: Could not read variable derivative.opAmp.out.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv. Warning: Get data of variable derivative.opAmp.out.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.935547646018676]