Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001287/0.001287, allocations: 117.3 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001388/0.001388, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 230.2 MB / 254.5 MB, free: 15.41 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 63.89 kB / 373.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1173, allocations: 53.32 MB / 426.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004696/0.122, allocations: 2.843 MB / 429.5 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.1234, allocations: 0.6466 MB / 430.2 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.1235, allocations: 4 kB / 430.2 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001949/0.1237, allocations: 55.5 kB / 430.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.1239, allocations: 83.2 kB / 430.3 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.1242, allocations: 87.81 kB / 430.4 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004365/0.1246, allocations: 342.9 kB / 430.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002796/0.1249, allocations: 107.4 kB / 430.8 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.1251, allocations: 139.5 kB / 431 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.1253, allocations: 147.4 kB / 431.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.378e-05/0.1254, allocations: 32 kB / 431.2 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.215e-05/0.1254, allocations: 32 kB / 431.2 MB, free: 480 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.454e-05/0.1255, allocations: 75.64 kB / 431.3 MB, free: 404 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.1257, allocations: 155.3 kB / 431.4 MB, free: 248 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004588/0.1261, allocations: 358.5 kB / 431.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1261, allocations: 4 kB / 431.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1261, allocations: 0 / 431.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.1262, allocations: 0 / 431.8 MB, free: 15.89 MB / 366.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.0009863/0.1271, allocations: 0.6039 MB / 432.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.1272, allocations: 12.03 kB / 432.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.157e-05/0.1273, allocations: 66.66 kB / 432.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.301e-05/0.1273, allocations: 32.75 kB / 432.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004245/0.1278, allocations: 263.9 kB / 432.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.1278, allocations: 20.94 kB / 432.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.132e-05/0.1278, allocations: 28.38 kB / 432.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004751/0.1283, allocations: 256.9 kB / 433 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1283, allocations: 0 / 433 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/0.1283, allocations: 12 kB / 433 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.1284, allocations: 8 kB / 433 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003501/0.1287, allocations: 182.2 kB / 433.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.1303, allocations: 1.014 MB / 434.2 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004433/0.1308, allocations: 316.9 kB / 434.6 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/0.131, allocations: 128.8 kB / 434.7 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.131, allocations: 4 kB / 434.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.131, allocations: 34.56 kB / 434.7 MB, free: 12.69 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.783e-06/0.131, allocations: 4 kB / 434.7 MB, free: 12.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.001574/0.1326, allocations: 0.7735 MB / 435.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.1327, allocations: 59.41 kB / 435.5 MB, free: 11.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.1329, allocations: 190.3 kB / 435.7 MB, free: 11.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.1329, allocations: 29.7 kB / 435.8 MB, free: 11.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.133, allocations: 176.5 kB / 435.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.159e-05/0.1331, allocations: 91.22 kB / 436 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.961e-05/0.1332, allocations: 49.98 kB / 436.1 MB, free: 11.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.1334, allocations: 346.7 kB / 436.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.1335, allocations: 72.47 kB / 436.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.1337, allocations: 102.8 kB / 436.6 MB, free: 10.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.1339, allocations: 177.7 kB / 436.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1339, allocations: 0 / 436.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005541/0.1345, allocations: 318.1 kB / 437.1 MB, free: 10.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.1345, allocations: 8 kB / 437.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1345, allocations: 0 / 437.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002622/0.1348, allocations: 80.81 kB / 437.2 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.135, allocations: 51.84 kB / 437.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/0.1373, allocations: 2.1 MB / 439.3 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.1374, allocations: 11.97 kB / 439.3 MB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.1374, allocations: 12 kB / 439.3 MB, free: 7.816 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.0001582/0.1376, allocations: 137.8 kB / 439.5 MB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.978e-05/0.1376, allocations: 23.86 kB / 439.5 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.658e-05/0.1377, allocations: 29.81 kB / 439.5 MB, free: 7.617 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/0.1377, allocations: 8.062 kB / 439.5 MB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1377, allocations: 0 / 439.5 MB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.1377, allocations: 7.922 kB / 439.5 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.1388, allocations: 0.7333 MB / 440.3 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1388, allocations: 0 / 440.3 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.139, allocations: 47.97 kB / 440.3 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002063/0.1392, allocations: 72.73 kB / 440.4 MB, free: 6.688 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.1392, allocations: 4 kB / 440.4 MB, free: 6.684 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002083/0.1413, allocations: 1.991 MB / 442.4 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1413, allocations: 0 / 442.4 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007015/0.142, allocations: 459.9 kB / 442.8 MB, free: 4.086 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.848e-05/0.1421, allocations: 96.95 kB / 442.9 MB, free: 3.973 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.067e-05/0.1421, allocations: 8.062 kB / 442.9 MB, free: 3.965 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.1423, allocations: 16.06 kB / 442.9 MB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/0.1423, allocations: 23.91 kB / 443 MB, free: 3.926 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.1424, allocations: 4 kB / 443 MB, free: 3.922 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001408/0.1425, allocations: 144.4 kB / 443.1 MB, free: 3.781 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1425, allocations: 0 / 443.1 MB, free: 3.781 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004336/0.1429, allocations: 76 kB / 443.2 MB, free: 3.707 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.001124/0.1441, allocations: 0.9906 MB / 444.2 MB, free: 2.688 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006937/0.1448, allocations: 358.8 kB / 444.5 MB, free: 2.324 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.1448, allocations: 4 kB / 444.5 MB, free: 2.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004243/0.1452, allocations: 254.4 kB / 444.8 MB, free: 2.059 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.1455, allocations: 40.3 kB / 444.8 MB, free: 2.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2115/0.357, allocations: 2.81 MB / 447.6 MB, free: 23.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.3572, allocations: 0.7697 MB / 448.4 MB, free: 22.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.3574, allocations: 17.84 kB / 448.4 MB, free: 22.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.3575, allocations: 87.12 kB / 448.5 MB, free: 22.51 MB / 366.1 MB Notification: Performance of SimCode: time 1.543e-06/0.3575, allocations: 1.906 kB / 448.5 MB, free: 22.51 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03721/0.3947, allocations: 5.835 MB / 454.3 MB, free: 22.03 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/10.62, allocations: 4.984 kB / 454.3 MB, free: 22.03 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --stepSize=0.0119904 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.170942625030875]