Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.001291/0.001291, allocations: 123.9 kB / 17.79 MB, free: 5.242 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.00129/0.00129, allocations: 185.2 kB / 20.73 MB, free: 2.312 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.399/1.399, allocations: 225.6 MB / 249.1 MB, free: 3.598 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.CauerLowPassOPV,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 51.92 kB / 365.7 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1027, allocations: 52.14 MB / 417.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007033/0.1098, allocations: 5.793 MB / 423.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003036/0.1128, allocations: 1.161 MB / 424.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.114, allocations: 20 kB / 424.8 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006763/0.1147, allocations: 166.4 kB / 425 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.1158, allocations: 281.4 kB / 425.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006061/0.1164, allocations: 227.7 kB / 425.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001213/0.1176, allocations: 1.06 MB / 426.5 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006391/0.1182, allocations: 402.5 kB / 426.9 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004457/0.1187, allocations: 418.6 kB / 427.3 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005561/0.1192, allocations: 469.9 kB / 427.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.1194, allocations: 96 kB / 427.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.1195, allocations: 100 kB / 428 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.1197, allocations: 219.2 kB / 428.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004562/0.1202, allocations: 0.5055 MB / 428.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.1213, allocations: 1.101 MB / 429.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1213, allocations: 3.938 kB / 429.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1213, allocations: 4 kB / 429.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.99e-05/0.1213, allocations: 0 / 429.8 MB, free: 0.4922 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002144/0.1235, allocations: 1.262 MB / 431.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.1235, allocations: 12.03 kB / 431.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001851/0.1237, allocations: 152.1 kB / 431.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.1239, allocations: 108.3 kB / 431.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007243/0.1246, allocations: 467.3 kB / 431.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.59e-05/0.1247, allocations: 70.38 kB / 431.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.1248, allocations: 96.33 kB / 432 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.1261, allocations: 0.8676 MB / 432.8 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.1261, allocations: 7.938 kB / 432.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.87e-05/0.1262, allocations: 40 kB / 432.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/0.1262, allocations: 24 kB / 432.9 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009738/0.1272, allocations: 0.5661 MB / 433.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004627/0.1318, allocations: 2.958 MB / 436.4 MB, free: 9.637 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004972/0.1323, allocations: 271 kB / 436.7 MB, free: 9.363 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003611/0.1327, allocations: 232.7 kB / 436.9 MB, free: 9.133 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.1327, allocations: 4 kB / 436.9 MB, free: 9.129 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/0.1328, allocations: 38.56 kB / 436.9 MB, free: 9.082 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 3.607e-06/0.1328, allocations: 0 / 436.9 MB, free: 9.082 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.001482/0.1343, allocations: 0.6512 MB / 437.6 MB, free: 8.402 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.1343, allocations: 59.34 kB / 437.7 MB, free: 8.332 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005939/0.1349, allocations: 0.5104 MB / 438.2 MB, free: 7.812 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/0.1349, allocations: 33.7 kB / 438.2 MB, free: 7.773 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003359/0.1353, allocations: 0.4952 MB / 438.7 MB, free: 7.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/0.1354, allocations: 170.6 kB / 438.9 MB, free: 7.102 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/0.1356, allocations: 134.6 kB / 439 MB, free: 6.961 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.1358, allocations: 362.8 kB / 439.3 MB, free: 6.598 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/0.1361, allocations: 173.9 kB / 439.5 MB, free: 6.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005496/0.1367, allocations: 453.6 kB / 440 MB, free: 5.859 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008629/0.1375, allocations: 0.6518 MB / 440.6 MB, free: 5.082 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.1375, allocations: 0 / 440.6 MB, free: 5.082 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001291/0.1388, allocations: 0.7646 MB / 441.4 MB, free: 4.309 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.1388, allocations: 8.688 kB / 441.4 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.1389, allocations: 8 kB / 441.4 MB, free: 4.293 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003051/0.1392, allocations: 88.81 kB / 441.5 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006546/0.1398, allocations: 191.7 kB / 441.7 MB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002045/0.1419, allocations: 1.998 MB / 443.7 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004901/0.1424, allocations: 91.36 kB / 443.8 MB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.605e-05/0.1424, allocations: 43.86 kB / 443.8 MB, free: 1.742 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (89): * Single equations (assignments): 88 * 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 prepare postOptimizeDAE: time 0.000308/0.1427, allocations: 209.5 kB / 444 MB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.054e-05/0.1428, allocations: 59.67 kB / 444.1 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.452e-05/0.1429, allocations: 69.56 kB / 444.1 MB, free: 1.398 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.1429, allocations: 7.984 kB / 444.1 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.1429, allocations: 3.938 kB / 444.1 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1429, allocations: 4 kB / 444.1 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007909/0.1437, allocations: 0.6493 MB / 444.8 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1437, allocations: 0 / 444.8 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003861/0.1441, allocations: 95.94 kB / 444.9 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002072/0.1443, allocations: 76.73 kB / 445 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/0.1443, allocations: 12 kB / 445 MB, free: 0.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1956/0.3399, allocations: 1.973 MB / 446.9 MB, free: 28.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.3399, allocations: 0.5625 kB / 446.9 MB, free: 28.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008742/0.3408, allocations: 0.667 MB / 447.6 MB, free: 28.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.341, allocations: 135.4 kB / 447.7 MB, free: 27.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.052e-05/0.341, allocations: 10.81 kB / 447.8 MB, free: 27.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003635/0.3414, allocations: 44.94 kB / 447.8 MB, free: 27.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.877e-05/0.3415, allocations: 29.77 kB / 447.8 MB, free: 27.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.3415, allocations: 13.95 kB / 447.8 MB, free: 27.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003635/0.3418, allocations: 346.6 kB / 448.2 MB, free: 27.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3418, allocations: 1.031 kB / 448.2 MB, free: 27.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007812/0.3426, allocations: 255.8 kB / 448.4 MB, free: 27.84 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,C2.v,C3.v,C4.v,C7.v) * 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 (33): * Single equations (assignments): 32 * 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.001051/0.3437, allocations: 1.211 MB / 449.6 MB, free: 27.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009291/0.3446, allocations: 0.5595 MB / 450.2 MB, free: 27.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.3446, allocations: 2.406 kB / 450.2 MB, free: 27.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003736/0.345, allocations: 300.1 kB / 450.5 MB, free: 26.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005495/0.3455, allocations: 122.5 kB / 450.6 MB, free: 26.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006433/0.352, allocations: 5.492 MB / 456.1 MB, free: 24.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.3524, allocations: 0.9279 MB / 457 MB, free: 23.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003098/0.3527, allocations: 67.91 kB / 457.1 MB, free: 23.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/0.353, allocations: 262.4 kB / 457.4 MB, free: 23.25 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.353, allocations: 4 kB / 457.4 MB, free: 23.24 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04819/0.4011, allocations: 12.93 MB / 470.3 MB, free: 19.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/10.92, allocations: 17.52 kB / 470.3 MB, free: 19.82 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV_fmu --startTime=0 --stopTime=60 --stepSize=0.0119904 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.73187685990706]