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.001258/0.001258, allocations: 115.7 kB / 18.49 MB, free: 4.566 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.001233/0.001233, allocations: 190.7 kB / 21.43 MB, free: 1.641 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.346/1.346, allocations: 225.6 MB / 249.8 MB, free: 3.73 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 47.92 kB / 366.4 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.102, allocations: 52.13 MB / 418.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004592/0.1066, allocations: 3.09 MB / 421.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.1081, allocations: 0.7676 MB / 422.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002843/0.1084, allocations: 7.938 kB / 422.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000217/0.1086, allocations: 47.5 kB / 422.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003314/0.1089, allocations: 123 kB / 422.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003749/0.1093, allocations: 135.7 kB / 422.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006064/0.1099, allocations: 454.3 kB / 423.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002303/0.1102, allocations: 94.94 kB / 423.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003443/0.1105, allocations: 179.3 kB / 423.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003064/0.1108, allocations: 187.2 kB / 423.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.516e-05/0.1109, allocations: 48 kB / 423.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.981e-05/0.111, allocations: 44 kB / 423.7 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.983e-05/0.1111, allocations: 87.69 kB / 423.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002183/0.1113, allocations: 199 kB / 423.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005625/0.1118, allocations: 498.1 kB / 424.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1118, allocations: 0 / 424.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1118, allocations: 0 / 424.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.1119, allocations: 0 / 424.4 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.001504/0.1134, allocations: 0.7146 MB / 425.1 MB, free: 5.883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.1134, allocations: 12.03 kB / 425.2 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.105e-05/0.1134, allocations: 8.75 kB / 425.2 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.01e-05/0.1135, allocations: 66.72 kB / 425.2 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.937e-05/0.1136, allocations: 48.64 kB / 425.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004674/0.1141, allocations: 306.8 kB / 425.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.1141, allocations: 24.92 kB / 425.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.776e-05/0.1141, allocations: 27.94 kB / 425.6 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007938/0.1149, allocations: 351.6 kB / 426 MB, free: 5.004 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1149, allocations: 0 / 426 MB, free: 5.004 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.598e-05/0.115, allocations: 15.98 kB / 426 MB, free: 4.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.115, allocations: 4 kB / 426 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008537/0.1158, allocations: 306 kB / 426.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002292/0.1181, allocations: 1.279 MB / 427.6 MB, free: 3.316 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007113/0.1188, allocations: 222.3 kB / 427.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003541/0.1192, allocations: 108.8 kB / 427.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.1192, allocations: 0 / 427.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005046/0.1197, allocations: 192.3 kB / 428.1 MB, free: 2.773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.1197, allocations: 4 kB / 428.1 MB, free: 2.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002506/0.1222, allocations: 0.6824 MB / 428.8 MB, free: 2.059 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.626e-05/0.1223, allocations: 114.7 kB / 428.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003513/0.1227, allocations: 295 kB / 429.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.1227, allocations: 29.7 kB / 429.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.1229, allocations: 220 kB / 429.4 MB, free: 1.371 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.1229, allocations: 47.59 kB / 429.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.945e-05/0.123, allocations: 53.66 kB / 429.5 MB, free: 1.266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1232, allocations: 346.8 kB / 429.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004474/0.1236, allocations: 111.9 kB / 430 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000445/0.1241, allocations: 212.7 kB / 430.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007822/0.1248, allocations: 325.6 kB / 430.5 MB, free: 204 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.1248, allocations: 4 kB / 430.5 MB, free: 200 kB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001364/0.1262, allocations: 483.8 kB / 431 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.525e-05/0.1263, allocations: 33.7 kB / 431 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.1263, allocations: 8.047 kB / 431 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004115/0.1267, allocations: 88.75 kB / 431.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/0.1269, allocations: 51.95 kB / 431.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002956/0.1299, allocations: 2.005 MB / 433.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003662/0.1303, allocations: 59.73 kB / 433.2 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.1303, allocations: 8 kB / 433.2 MB, free: 13.3 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.0001938/0.1305, allocations: 158.8 kB / 433.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.64e-05/0.1305, allocations: 23.86 kB / 433.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.928e-05/0.1306, allocations: 29.8 kB / 433.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1306, allocations: 4 kB / 433.4 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.1306, allocations: 0 / 433.4 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1306, allocations: 0 / 433.4 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003798/0.131, allocations: 349.4 kB / 433.8 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.131, allocations: 8 kB / 433.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.1312, allocations: 27.97 kB / 433.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002859/0.1315, allocations: 84.8 kB / 433.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.1315, allocations: 3.938 kB / 433.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002514/0.134, allocations: 1.812 MB / 435.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.134, allocations: 0 / 435.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/0.1355, allocations: 0.4923 MB / 436.2 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.501e-05/0.1356, allocations: 101 kB / 436.3 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.466e-05/0.1356, allocations: 12.11 kB / 436.3 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/0.1359, allocations: 31.97 kB / 436.3 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.084e-05/0.136, allocations: 27.91 kB / 436.4 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.136, allocations: 7.938 kB / 436.4 MB, free: 9.906 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002346/0.1362, allocations: 210 kB / 436.6 MB, free: 9.699 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1362, allocations: 4.062 kB / 436.6 MB, free: 9.695 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004196/0.1367, allocations: 87.84 kB / 436.7 MB, free: 9.609 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.001895/0.1386, allocations: 1.046 MB / 437.7 MB, free: 8.531 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.1397, allocations: 439.3 kB / 438.1 MB, free: 8.082 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1397, allocations: 0 / 438.1 MB, free: 8.082 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005264/0.1402, allocations: 239 kB / 438.4 MB, free: 7.836 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.1406, allocations: 52.8 kB / 438.4 MB, free: 7.785 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005967/0.1465, allocations: 3.322 MB / 441.7 MB, free: 4.293 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.1469, allocations: 0.7715 MB / 442.5 MB, free: 3.496 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.147, allocations: 26.98 kB / 442.5 MB, free: 3.473 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.1472, allocations: 87.41 kB / 442.6 MB, free: 3.387 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1472, allocations: 0 / 442.6 MB, free: 3.387 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2007/0.3479, allocations: 7.432 MB / 450.1 MB, free: 31.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.95, allocations: 18.09 kB / 450.1 MB, free: 31.12 MB / 366.1 MB " [Timeout remaining time 648] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 14.282515633036382]