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.001347/0.001347, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001701/0.001701, allocations: 213.9 kB / 23.73 MB, free: 4.164 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.496/1.496, allocations: 230.5 MB / 257.4 MB, free: 7.785 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.001884/0.001884, allocations: 59.91 kB / 377.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3034, allocations: 53.4 MB / 431.1 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004812/0.3082, allocations: 2.642 MB / 433.8 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.3095, allocations: 0.6193 MB / 434.4 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.3096, allocations: 8 kB / 434.4 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001723/0.3098, allocations: 51.5 kB / 434.5 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001906/0.31, allocations: 83.2 kB / 434.5 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.3102, allocations: 75.89 kB / 434.6 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004065/0.3106, allocations: 358.8 kB / 435 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002509/0.3109, allocations: 101.5 kB / 435.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.311, allocations: 131.5 kB / 435.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.3112, allocations: 135.3 kB / 435.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.433e-05/0.3113, allocations: 36 kB / 435.4 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.755e-05/0.3114, allocations: 28 kB / 435.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.06e-05/0.3114, allocations: 67.81 kB / 435.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.3116, allocations: 139.3 kB / 435.6 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004109/0.312, allocations: 362.5 kB / 435.9 MB, free: 1.625 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.312, allocations: 3.984 kB / 436 MB, free: 1.621 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.312, allocations: 0 / 436 MB, free: 1.621 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.312, allocations: 0 / 436 MB, free: 1.621 MB / 334.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.0009442/0.3129, allocations: 0.5209 MB / 436.5 MB, free: 1.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.313, allocations: 11.98 kB / 436.5 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.525e-05/0.3131, allocations: 70.72 kB / 436.6 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.06e-05/0.3131, allocations: 32.75 kB / 436.6 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000389/0.3135, allocations: 198.8 kB / 436.8 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.3135, allocations: 25.03 kB / 436.8 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.885e-05/0.3136, allocations: 32.38 kB / 436.8 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004952/0.3141, allocations: 301.6 kB / 437.1 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.3141, allocations: 0 / 437.1 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.901e-05/0.3141, allocations: 12 kB / 437.1 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.3141, allocations: 11.94 kB / 437.2 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003448/0.3145, allocations: 182.5 kB / 437.3 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.316, allocations: 0.913 MB / 438.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003577/0.3164, allocations: 166.7 kB / 438.4 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/0.3166, allocations: 138.9 kB / 438.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.3166, allocations: 0 / 438.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.3167, allocations: 34.56 kB / 438.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.173e-06/0.3167, allocations: 0 / 438.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.001448/0.3181, allocations: 0.7012 MB / 439.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.3182, allocations: 59.34 kB / 439.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.3184, allocations: 195.2 kB / 439.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.3184, allocations: 29.7 kB / 439.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.3185, allocations: 176.5 kB / 439.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.337e-05/0.3186, allocations: 95.2 kB / 439.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.023e-05/0.3187, allocations: 53.88 kB / 439.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.3188, allocations: 338.8 kB / 440.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.319, allocations: 76.53 kB / 440.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.3192, allocations: 99.86 kB / 440.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002812/0.3194, allocations: 173.6 kB / 440.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.3194, allocations: 4 kB / 440.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005369/0.32, allocations: 318.2 kB / 440.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.32, allocations: 4 kB / 440.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.32, allocations: 0 / 440.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002722/0.3203, allocations: 84.81 kB / 440.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.3205, allocations: 51.91 kB / 441 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002197/0.3227, allocations: 1.969 MB / 443 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.3228, allocations: 11.92 kB / 443 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.3228, allocations: 12.03 kB / 443 MB, free: 10.19 MB / 350.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.0001624/0.323, allocations: 137.8 kB / 443.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.862e-05/0.323, allocations: 19.97 kB / 443.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.842e-05/0.3231, allocations: 29.97 kB / 443.2 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.3231, allocations: 0 / 443.2 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/0.3231, allocations: 7.984 kB / 443.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.3231, allocations: 3.938 kB / 443.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.3242, allocations: 0.6738 MB / 443.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.3242, allocations: 4 kB / 443.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/0.3244, allocations: 43.91 kB / 443.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001947/0.3246, allocations: 72.75 kB / 444 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.3246, allocations: 4.094 kB / 444 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001941/0.3265, allocations: 1.879 MB / 445.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3265, allocations: 0 / 445.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006787/0.3272, allocations: 459.9 kB / 446.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.257e-05/0.3272, allocations: 19.97 kB / 446.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.3273, allocations: 8 kB / 446.3 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.3274, allocations: 20.05 kB / 446.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.613e-05/0.3275, allocations: 23.95 kB / 446.4 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.3275, allocations: 4 kB / 446.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001381/0.3276, allocations: 143.2 kB / 446.5 MB, free: 6.461 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3276, allocations: 0 / 446.5 MB, free: 6.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004035/0.328, allocations: 76 kB / 446.6 MB, free: 6.387 MB / 350.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.001032/0.3291, allocations: 1.002 MB / 447.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006841/0.3298, allocations: 350.4 kB / 447.9 MB, free: 5.004 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3298, allocations: 0 / 447.9 MB, free: 5.004 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004199/0.3302, allocations: 258.5 kB / 448.2 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.3305, allocations: 36.45 kB / 448.2 MB, free: 4.703 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003678/0.3342, allocations: 2.825 MB / 451.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.3344, allocations: 162.7 kB / 451.2 MB, free: 1.613 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.683e-05/0.3345, allocations: 26.27 kB / 451.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.3346, allocations: 83.41 kB / 451.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3346, allocations: 0 / 451.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03673/0.3714, allocations: 6.607 MB / 457.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.53, allocations: 7.609 kB / 457.9 MB, free: 11.04 MB / 366.1 MB " [Timeout remaining time 648] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 14.123935683630407]