Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.001301/0.001301, allocations: 119.9 kB / 17.79 MB, free: 5.285 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.001318/0.001318, allocations: 189.2 kB / 20.73 MB, free: 2.352 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.367/1.367, allocations: 225.6 MB / 249.1 MB, free: 3.605 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.CauerLowPassAnalog,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 51.92 kB / 365.7 MB, free: 0.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1048, allocations: 52.14 MB / 417.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004175/0.109, allocations: 2.834 MB / 420.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.11, allocations: 0.6115 MB / 421.2 MB, free: 9.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.1101, allocations: 4 kB / 421.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001683/0.1103, allocations: 55.5 kB / 421.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.1105, allocations: 87.19 kB / 421.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.1107, allocations: 75.89 kB / 421.5 MB, free: 8.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003714/0.1111, allocations: 350.9 kB / 421.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002187/0.1113, allocations: 107.3 kB / 421.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.1114, allocations: 131.6 kB / 422 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.1116, allocations: 151.3 kB / 422.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.003e-05/0.1117, allocations: 32 kB / 422.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.829e-05/0.1117, allocations: 32 kB / 422.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.304e-05/0.1118, allocations: 71.75 kB / 422.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.1119, allocations: 163.2 kB / 422.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003747/0.1123, allocations: 354.5 kB / 422.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1123, allocations: 0 / 422.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1123, allocations: 4 kB / 422.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.1123, allocations: 0 / 422.8 MB, free: 7.547 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0009072/0.1132, allocations: 0.6039 MB / 423.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1133, allocations: 8.031 kB / 423.4 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.801e-05/0.1134, allocations: 66.72 kB / 423.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.272e-05/0.1134, allocations: 40.75 kB / 423.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.1138, allocations: 263.9 kB / 423.8 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.1138, allocations: 20.94 kB / 423.8 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/0.1138, allocations: 28.38 kB / 423.8 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004168/0.1143, allocations: 249 kB / 424.1 MB, free: 6.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1143, allocations: 0 / 424.1 MB, free: 6.184 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.969e-05/0.1143, allocations: 12 kB / 424.1 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.1143, allocations: 8 kB / 424.1 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/0.1146, allocations: 190.1 kB / 424.3 MB, free: 5.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.1161, allocations: 1.018 MB / 425.3 MB, free: 4.883 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004055/0.1165, allocations: 316.9 kB / 425.6 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.1167, allocations: 139.1 kB / 425.8 MB, free: 4.391 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.1168, allocations: 4 kB / 425.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.1168, allocations: 34.56 kB / 425.8 MB, free: 4.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.142e-06/0.1168, allocations: 0 / 425.8 MB, free: 4.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.001409/0.1182, allocations: 0.7704 MB / 426.6 MB, free: 3.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.1182, allocations: 59.34 kB / 426.6 MB, free: 3.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.1184, allocations: 190.3 kB / 426.8 MB, free: 3.254 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.1185, allocations: 29.7 kB / 426.8 MB, free: 3.219 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.1186, allocations: 180.5 kB / 427 MB, free: 3.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.885e-05/0.1186, allocations: 95.23 kB / 427.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.553e-05/0.1187, allocations: 45.98 kB / 427.2 MB, free: 2.891 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1189, allocations: 334.8 kB / 427.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.119, allocations: 72.53 kB / 427.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.1191, allocations: 102.7 kB / 427.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002875/0.1194, allocations: 182.2 kB / 427.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.1194, allocations: 0 / 427.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005176/0.1199, allocations: 322 kB / 428.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.12, allocations: 4 kB / 428.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.12, allocations: 0 / 428.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002487/0.1202, allocations: 88.84 kB / 428.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.1204, allocations: 47.91 kB / 428.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/0.1225, allocations: 2.092 MB / 430.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.1226, allocations: 15.91 kB / 430.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.1226, allocations: 4.062 kB / 430.4 MB, free: 15.48 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (22): * Single equations (assignments): 21 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000155/0.1228, allocations: 157.7 kB / 430.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.844e-05/0.1228, allocations: 23.86 kB / 430.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.644e-05/0.1229, allocations: 21.88 kB / 430.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1229, allocations: 4 kB / 430.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.1229, allocations: 4 kB / 430.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.1229, allocations: 7.922 kB / 430.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.1239, allocations: 0.7254 MB / 431.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.1239, allocations: 7.984 kB / 431.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.1241, allocations: 35.92 kB / 431.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001785/0.1243, allocations: 72.8 kB / 431.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.1243, allocations: 8 kB / 431.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001792/0.1261, allocations: 1.991 MB / 433.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1261, allocations: 3.938 kB / 433.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006677/0.1268, allocations: 464.3 kB / 433.9 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.476e-05/0.1268, allocations: 97.06 kB / 434 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.1269, allocations: 4 kB / 434 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.127, allocations: 8 kB / 434 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.1271, allocations: 19.97 kB / 434 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.1271, allocations: 16 kB / 434 MB, free: 11.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001275/0.1272, allocations: 140.3 kB / 434.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1272, allocations: 0 / 434.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004144/0.1276, allocations: 80 kB / 434.3 MB, free: 11.36 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * 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 (16): * Single equations (assignments): 15 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001039/0.1287, allocations: 1.006 MB / 435.3 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006696/0.1294, allocations: 354.7 kB / 435.6 MB, free: 9.969 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1294, allocations: 0 / 435.6 MB, free: 9.969 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004159/0.1298, allocations: 250.5 kB / 435.9 MB, free: 9.711 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.1301, allocations: 36.23 kB / 435.9 MB, free: 9.676 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003473/0.1336, allocations: 2.824 MB / 438.7 MB, free: 6.758 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.134, allocations: 0.7675 MB / 439.5 MB, free: 5.965 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.506e-05/0.1341, allocations: 18.3 kB / 439.5 MB, free: 5.949 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.1342, allocations: 79.41 kB / 439.6 MB, free: 5.871 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1342, allocations: 0 / 439.6 MB, free: 5.871 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03438/0.1686, allocations: 5.834 MB / 445.4 MB, free: 188 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.836/10.01, allocations: 13.75 kB / 445.4 MB, free: 176 kB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --stepSize=0.0119904 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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: 12.798065188806504]