Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.001199/0.001199, allocations: 125 kB / 17.79 MB, free: 5.121 MB / 14.72 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.001236/0.001236, allocations: 190.9 kB / 20.73 MB, free: 2.184 MB / 14.72 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 1.35/1.35, allocations: 225.6 MB / 249.1 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] 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.OpAmps.HighPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 51.92 kB / 365.7 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1104, allocations: 52.14 MB / 417.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.00447/0.1149, allocations: 3.073 MB / 420.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.1163, allocations: 0.7793 MB / 421.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.1165, allocations: 4 kB / 421.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001766/0.1167, allocations: 51.5 kB / 421.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002394/0.1169, allocations: 123 kB / 421.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.1172, allocations: 127.7 kB / 422 MB, free: 8.426 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005025/0.1177, allocations: 454.3 kB / 422.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002225/0.1179, allocations: 94.94 kB / 422.5 MB, free: 7.883 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002394/0.1182, allocations: 179.3 kB / 422.7 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002348/0.1184, allocations: 191.2 kB / 422.9 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.396e-05/0.1185, allocations: 44 kB / 422.9 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.151e-05/0.1185, allocations: 44 kB / 423 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.228e-05/0.1186, allocations: 91.69 kB / 423 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001994/0.1188, allocations: 199 kB / 423.2 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000569/0.1194, allocations: 0.4903 MB / 423.7 MB, free: 6.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1194, allocations: 0 / 423.7 MB, free: 6.656 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1194, allocations: 3.938 kB / 423.7 MB, free: 6.652 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1194, allocations: 0 / 423.7 MB, free: 6.652 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001468/0.1209, allocations: 0.7146 MB / 424.4 MB, free: 5.883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.1209, allocations: 8.031 kB / 424.5 MB, free: 5.875 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.506e-05/0.121, allocations: 58.73 kB / 424.5 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.209e-05/0.1211, allocations: 44.69 kB / 424.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004856/0.1216, allocations: 314.8 kB / 424.9 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.1216, allocations: 20.94 kB / 424.9 MB, free: 5.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.476e-05/0.1217, allocations: 32.12 kB / 424.9 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007627/0.1224, allocations: 347.6 kB / 425.3 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1224, allocations: 4 kB / 425.3 MB, free: 5.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/0.1225, allocations: 12 kB / 425.3 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.1225, allocations: 8 kB / 425.3 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008339/0.1233, allocations: 298 kB / 425.6 MB, free: 4.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00228/0.1256, allocations: 1.283 MB / 426.9 MB, free: 3.336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006488/0.1262, allocations: 214.4 kB / 427.1 MB, free: 3.117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003286/0.1266, allocations: 115.3 kB / 427.2 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.1266, allocations: 4 kB / 427.2 MB, free: 3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004869/0.1271, allocations: 192.2 kB / 427.4 MB, free: 2.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.482e-06/0.1271, allocations: 4 kB / 427.4 MB, free: 2.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002344/0.1294, allocations: 0.6786 MB / 428.1 MB, free: 2.082 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.441e-05/0.1295, allocations: 106.8 kB / 428.2 MB, free: 1.953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003441/0.1298, allocations: 299 kB / 428.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.1299, allocations: 29.7 kB / 428.5 MB, free: 1.617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.13, allocations: 219.9 kB / 428.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.105e-05/0.1301, allocations: 51.59 kB / 428.7 MB, free: 1.348 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.474e-05/0.1302, allocations: 53.66 kB / 428.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1303, allocations: 338.8 kB / 429.1 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/0.1307, allocations: 119.9 kB / 429.2 MB, free: 0.832 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004271/0.1311, allocations: 212.7 kB / 429.4 MB, free: 0.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007256/0.1319, allocations: 322 kB / 429.8 MB, free: 232 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.1319, allocations: 4 kB / 429.8 MB, free: 228 kB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001269/0.1331, allocations: 491.8 kB / 430.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.844e-05/0.1332, allocations: 29.7 kB / 430.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1332, allocations: 4 kB / 430.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004054/0.1336, allocations: 84.86 kB / 430.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.1339, allocations: 55.91 kB / 430.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002901/0.1368, allocations: 2.009 MB / 432.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003578/0.1371, allocations: 55.81 kB / 432.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.1371, allocations: 16 kB / 432.5 MB, free: 13.32 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001946/0.1373, allocations: 149.4 kB / 432.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.1374, allocations: 23.86 kB / 432.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.914e-05/0.1374, allocations: 37.73 kB / 432.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1374, allocations: 4 kB / 432.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.1374, allocations: 0 / 432.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1374, allocations: 3.984 kB / 432.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003843/0.1378, allocations: 349.3 kB / 433.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1378, allocations: 0 / 433.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.138, allocations: 31.97 kB / 433.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002651/0.1383, allocations: 80.8 kB / 433.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.1383, allocations: 8.062 kB / 433.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002413/0.1407, allocations: 1.801 MB / 435 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1407, allocations: 3.938 kB / 435 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.1421, allocations: 0.4975 MB / 435.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.963e-05/0.1422, allocations: 101 kB / 435.6 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.1422, allocations: 7.938 kB / 435.6 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.1425, allocations: 36.03 kB / 435.6 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.829e-05/0.1426, allocations: 27.89 kB / 435.6 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.1426, allocations: 4 kB / 435.6 MB, free: 9.934 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002414/0.1428, allocations: 210 kB / 435.8 MB, free: 9.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1428, allocations: 0 / 435.8 MB, free: 9.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003844/0.1432, allocations: 83.84 kB / 435.9 MB, free: 9.648 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: 3 ($whenCondition1,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 (11): * Single equations (assignments): 8 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001804/0.145, allocations: 1.057 MB / 437 MB, free: 8.562 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.146, allocations: 440.2 kB / 437.4 MB, free: 8.109 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.146, allocations: 0 / 437.4 MB, free: 8.109 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004847/0.1465, allocations: 239 kB / 437.7 MB, free: 7.863 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.1469, allocations: 56.98 kB / 437.7 MB, free: 7.805 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005958/0.1528, allocations: 3.314 MB / 441 MB, free: 4.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005329/0.1534, allocations: 0.7715 MB / 441.8 MB, free: 3.523 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001286/0.1535, allocations: 30.97 kB / 441.8 MB, free: 3.496 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.1536, allocations: 91.41 kB / 441.9 MB, free: 3.406 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1536, allocations: 0 / 441.9 MB, free: 3.406 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2798/0.4334, allocations: 7.394 MB / 449.3 MB, free: 30.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/12.7, allocations: 12.73 kB / 449.3 MB, free: 30.77 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.279554299078882]