Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.001322/0.001322, allocations: 115.5 kB / 18.45 MB, free: 4.625 MB / 14.72 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.001482/0.001482, allocations: 211.3 kB / 21.41 MB, free: 1.672 MB / 14.72 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 1.695/1.695, allocations: 207.6 MB / 231.8 MB, free: 4.184 MB / 174.1 MB " [Timeout remaining time 178] 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.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 47.94 kB / 342.3 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1188, allocations: 49.13 MB / 391.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004915/0.1237, allocations: 2.772 MB / 394.2 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.1252, allocations: 0.6628 MB / 394.9 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000224/0.1254, allocations: 8 kB / 394.9 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001944/0.1256, allocations: 47.5 kB / 394.9 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000226/0.1259, allocations: 91.17 kB / 395 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002533/0.1261, allocations: 79.89 kB / 395.1 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004453/0.1266, allocations: 358.7 kB / 395.4 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002531/0.1268, allocations: 111.3 kB / 395.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.127, allocations: 131.5 kB / 395.7 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.1272, allocations: 159.2 kB / 395.8 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.718e-05/0.1273, allocations: 32 kB / 395.9 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.395e-05/0.1273, allocations: 28 kB / 395.9 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.609e-05/0.1274, allocations: 67.77 kB / 396 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.1275, allocations: 163.2 kB / 396.1 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004243/0.128, allocations: 362.5 kB / 396.5 MB, free: 3.656 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.128, allocations: 4 kB / 396.5 MB, free: 3.652 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.587e-06/0.128, allocations: 3.984 kB / 396.5 MB, free: 3.648 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.128, allocations: 0 / 396.5 MB, free: 3.648 MB / 318.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.001035/0.129, allocations: 0.5923 MB / 397.1 MB, free: 3.008 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.1291, allocations: 8.031 kB / 397.1 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.308e-05/0.1292, allocations: 66.72 kB / 397.1 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.607e-05/0.1292, allocations: 40.7 kB / 397.2 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004588/0.1297, allocations: 251.9 kB / 397.4 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.1297, allocations: 20.94 kB / 397.4 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.073e-05/0.1298, allocations: 32.33 kB / 397.5 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000489/0.1303, allocations: 253 kB / 397.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1303, allocations: 0 / 397.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.337e-05/0.1303, allocations: 16 kB / 397.7 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.1303, allocations: 11.92 kB / 397.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003633/0.1307, allocations: 182.2 kB / 397.9 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001624/0.1323, allocations: 0.9983 MB / 398.9 MB, free: 1.016 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004521/0.1328, allocations: 320.8 kB / 399.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/0.133, allocations: 136.8 kB / 399.4 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.133, allocations: 0 / 399.4 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.1331, allocations: 34.56 kB / 399.4 MB, free: 488 kB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.022e-06/0.1331, allocations: 4 kB / 399.4 MB, free: 484 kB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001597/0.1347, allocations: 0.7679 MB / 400.2 MB, free: 15.65 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.1347, allocations: 59.41 kB / 400.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.1349, allocations: 198.1 kB / 400.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.135, allocations: 29.7 kB / 400.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.1351, allocations: 176.5 kB / 400.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.761e-05/0.1352, allocations: 91.22 kB / 400.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.28e-05/0.1353, allocations: 49.94 kB / 400.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1355, allocations: 334.8 kB / 401.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.1356, allocations: 76.53 kB / 401.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.1358, allocations: 102.7 kB / 401.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003507/0.1361, allocations: 185.6 kB / 401.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1361, allocations: 4 kB / 401.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000557/0.1367, allocations: 306.2 kB / 401.8 MB, free: 14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.1367, allocations: 4 kB / 401.8 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.1367, allocations: 7.938 kB / 401.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003086/0.137, allocations: 80.81 kB / 401.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.1372, allocations: 55.84 kB / 401.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/0.1396, allocations: 2.092 MB / 404 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.1397, allocations: 19.95 kB / 404 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.1397, allocations: 4 kB / 404 MB, free: 11.6 MB / 334.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.0001544/0.1399, allocations: 134 kB / 404.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.417e-05/0.1399, allocations: 23.84 kB / 404.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.592e-05/0.14, allocations: 25.94 kB / 404.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.14, allocations: 11.98 kB / 404.2 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.14, allocations: 0 / 404.2 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.14, allocations: 3.938 kB / 404.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.1411, allocations: 0.7409 MB / 405 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1411, allocations: 0 / 405 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.1413, allocations: 39.97 kB / 405 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002089/0.1415, allocations: 72.75 kB / 405.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.1416, allocations: 11.94 kB / 405.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001951/0.1435, allocations: 1.991 MB / 407.1 MB, free: 8.336 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1435, allocations: 3.984 kB / 407.1 MB, free: 8.332 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007123/0.1442, allocations: 452.3 kB / 407.5 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.395e-05/0.1443, allocations: 101 kB / 407.6 MB, free: 7.754 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.1443, allocations: 8 kB / 407.6 MB, free: 7.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.1445, allocations: 12.05 kB / 407.6 MB, free: 7.734 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.415e-05/0.1445, allocations: 19.98 kB / 407.6 MB, free: 7.715 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.1446, allocations: 11.92 kB / 407.7 MB, free: 7.703 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001425/0.1447, allocations: 144.3 kB / 407.8 MB, free: 7.562 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1447, allocations: 0 / 407.8 MB, free: 7.562 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004441/0.1451, allocations: 76 kB / 407.9 MB, free: 7.488 MB / 334.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.00106/0.1462, allocations: 1 MB / 408.9 MB, free: 6.461 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007385/0.1469, allocations: 362.3 kB / 409.2 MB, free: 6.094 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1469, allocations: 0 / 409.2 MB, free: 6.094 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004449/0.1474, allocations: 246.5 kB / 409.5 MB, free: 5.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.1478, allocations: 48.44 kB / 409.5 MB, free: 5.793 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003839/0.1516, allocations: 2.829 MB / 412.3 MB, free: 2.875 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.1521, allocations: 0.7636 MB / 413.1 MB, free: 2.082 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.224e-05/0.1521, allocations: 22.28 kB / 413.1 MB, free: 2.059 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.1523, allocations: 83.36 kB / 413.2 MB, free: 1.977 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1523, allocations: 0 / 413.2 MB, free: 1.977 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03563/0.1879, allocations: 5.846 MB / 419.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.83, allocations: 3.984 kB / 419.1 MB, free: 12.07 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119904 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 13.75828913001169]