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.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.001437/0.001437, allocations: 120 kB / 18.45 MB, free: 4.605 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.001371/0.001371, allocations: 190.9 kB / 21.39 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.495/1.495, allocations: 207.6 MB / 231.8 MB, free: 4.219 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.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_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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 63.89 kB / 342.3 MB, free: 10.03 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1124, allocations: 49.11 MB / 391.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004338/0.1168, allocations: 2.772 MB / 394.2 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.1181, allocations: 0.6667 MB / 394.8 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001635/0.1183, allocations: 8 kB / 394.8 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.1185, allocations: 47.5 kB / 394.9 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.1187, allocations: 91.2 kB / 395 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.1189, allocations: 71.89 kB / 395 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004251/0.1193, allocations: 354.7 kB / 395.4 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00025/0.1196, allocations: 115.3 kB / 395.5 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.1197, allocations: 131.5 kB / 395.6 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.12, allocations: 159.2 kB / 395.8 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.611e-05/0.12, allocations: 32 kB / 395.8 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.557e-05/0.1201, allocations: 36 kB / 395.8 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.167e-05/0.1202, allocations: 67.77 kB / 395.9 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.1203, allocations: 155.3 kB / 396.1 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004596/0.1208, allocations: 362.5 kB / 396.4 MB, free: 3.688 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/0.1208, allocations: 4 kB / 396.4 MB, free: 3.684 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1208, allocations: 0 / 396.4 MB, free: 3.684 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.1208, allocations: 0 / 396.4 MB, free: 3.684 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.001041/0.1218, allocations: 0.5962 MB / 397 MB, free: 3.039 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.1219, allocations: 12.03 kB / 397 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.978e-05/0.122, allocations: 58.73 kB / 397.1 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.77e-05/0.122, allocations: 36.7 kB / 397.1 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004479/0.1225, allocations: 263.8 kB / 397.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.867e-05/0.1225, allocations: 24.94 kB / 397.4 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.269e-05/0.1226, allocations: 28.33 kB / 397.4 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004919/0.1231, allocations: 253 kB / 397.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1231, allocations: 4 kB / 397.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.1231, allocations: 8 kB / 397.7 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.1231, allocations: 8 kB / 397.7 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003543/0.1235, allocations: 186.1 kB / 397.9 MB, free: 2.121 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/0.1253, allocations: 1.006 MB / 398.9 MB, free: 1.039 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006094/0.1259, allocations: 320.8 kB / 399.2 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/0.1262, allocations: 120.8 kB / 399.3 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.1262, allocations: 8 kB / 399.3 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.1262, allocations: 34.56 kB / 399.4 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.284e-06/0.1262, allocations: 0 / 399.4 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001719/0.128, allocations: 0.7718 MB / 400.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.128, allocations: 55.41 kB / 400.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.1282, allocations: 194.1 kB / 400.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.1283, allocations: 29.7 kB / 400.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.1284, allocations: 184.4 kB / 400.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.199e-05/0.1285, allocations: 87.22 kB / 400.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-05/0.1286, allocations: 57.94 kB / 400.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.1288, allocations: 334.8 kB / 401.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.1289, allocations: 68.53 kB / 401.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.1291, allocations: 102.8 kB / 401.2 MB, free: 14.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003302/0.1294, allocations: 185.5 kB / 401.4 MB, free: 14.35 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1294, allocations: 0 / 401.4 MB, free: 14.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005475/0.13, allocations: 314.2 kB / 401.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.13, allocations: 11.91 kB / 401.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.13, allocations: 0 / 401.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003073/0.1303, allocations: 92.7 kB / 401.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.1305, allocations: 51.86 kB / 401.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002425/0.1329, allocations: 2.096 MB / 404 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.133, allocations: 7.938 kB / 404 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.1331, allocations: 12 kB / 404 MB, free: 11.62 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.0001849/0.1332, allocations: 137.9 kB / 404.1 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.055e-05/0.1333, allocations: 16.02 kB / 404.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.103e-05/0.1334, allocations: 33.8 kB / 404.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1334, allocations: 4 kB / 404.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.1334, allocations: 0 / 404.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.1334, allocations: 7.938 kB / 404.2 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.1345, allocations: 0.7448 MB / 404.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1345, allocations: 0 / 404.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.1347, allocations: 35.98 kB / 404.9 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002059/0.1349, allocations: 72.75 kB / 405 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.1349, allocations: 7.984 kB / 405 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002108/0.1371, allocations: 1.995 MB / 407 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1371, allocations: 0 / 407 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007655/0.1378, allocations: 460.4 kB / 407.5 MB, free: 7.891 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.803e-05/0.1379, allocations: 96.97 kB / 407.6 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.1379, allocations: 4.062 kB / 407.6 MB, free: 7.773 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.1381, allocations: 19.97 kB / 407.6 MB, free: 7.754 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.374e-05/0.1382, allocations: 19.97 kB / 407.6 MB, free: 7.734 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.1382, allocations: 4 kB / 407.6 MB, free: 7.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001719/0.1384, allocations: 148.3 kB / 407.8 MB, free: 7.586 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1384, allocations: 7.938 kB / 407.8 MB, free: 7.578 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005015/0.1389, allocations: 76 kB / 407.8 MB, free: 7.504 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.001283/0.1402, allocations: 0.9961 MB / 408.8 MB, free: 6.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007619/0.1409, allocations: 354.4 kB / 409.2 MB, free: 6.121 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1409, allocations: 3.938 kB / 409.2 MB, free: 6.117 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004661/0.1414, allocations: 246.6 kB / 409.4 MB, free: 5.863 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.1418, allocations: 44.34 kB / 409.5 MB, free: 5.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004172/0.146, allocations: 2.825 MB / 412.3 MB, free: 2.902 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.1465, allocations: 0.7675 MB / 413.1 MB, free: 2.109 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.448e-05/0.1466, allocations: 14.3 kB / 413.1 MB, free: 2.094 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.1467, allocations: 87.41 kB / 413.2 MB, free: 2.008 MB / 334.1 MB Notification: Performance of SimCode: time 1.743e-06/0.1467, allocations: 0 / 413.2 MB, free: 2.008 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03703/0.1837, allocations: 5.846 MB / 419 MB, free: 12.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/10.54, allocations: 15.91 kB / 419 MB, free: 12.09 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --stepSize=0.0119904 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.097476793918759]