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.001249/0.001249, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001462/0.001462, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8981/0.8981, allocations: 177 MB / 204.1 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] 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 1.243e-06/1.243e-06, allocations: 0 / 324.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/1.982e-05, allocations: 3.266 kB / 324.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.002887/0.002907, allocations: 2.642 MB / 327.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008797/0.003787, allocations: 0.6272 MB / 327.8 MB, free: 12.47 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.003921, allocations: 4 kB / 327.8 MB, free: 12.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001404/0.004061, allocations: 51.5 kB / 327.9 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.004206, allocations: 99.06 kB / 328 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.004393, allocations: 75.89 kB / 328 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002613/0.004654, allocations: 362.7 kB / 328.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001948/0.004849, allocations: 103.6 kB / 328.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.005, allocations: 199.6 kB / 328.7 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.005139, allocations: 111.7 kB / 328.8 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.982e-05/0.005179, allocations: 32 kB / 328.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.85e-05/0.005207, allocations: 32 kB / 328.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.969e-05/0.005247, allocations: 67.75 kB / 328.9 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.431e-05/0.005321, allocations: 119.7 kB / 329 MB, free: 11.24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002775/0.005599, allocations: 366.8 kB / 329.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.005603, allocations: 0 / 329.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.005604, allocations: 0 / 329.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.005609, allocations: 0 / 329.4 MB, free: 10.88 MB / 298.7 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.0006146/0.006224, allocations: 0.5287 MB / 329.9 MB, free: 10.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.00627, allocations: 11.98 kB / 329.9 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.346e-05/0.006323, allocations: 70.72 kB / 330 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.089e-05/0.006374, allocations: 32.75 kB / 330 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.006662, allocations: 193.3 kB / 330.2 MB, free: 9.988 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.00668, allocations: 25.02 kB / 330.2 MB, free: 9.961 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.59e-05/0.006716, allocations: 32.38 kB / 330.3 MB, free: 9.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003184/0.007034, allocations: 302.1 kB / 330.6 MB, free: 9.617 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.007043, allocations: 192 / 330.6 MB, free: 9.617 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.007063, allocations: 16.12 kB / 330.6 MB, free: 9.602 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.007071, allocations: 7.984 kB / 330.6 MB, free: 9.594 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000214/0.007285, allocations: 186.5 kB / 330.8 MB, free: 9.414 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009646/0.008249, allocations: 0.9023 MB / 331.7 MB, free: 8.441 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005113/0.00876, allocations: 162.6 kB / 331.8 MB, free: 8.273 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.008905, allocations: 136.8 kB / 332 MB, free: 8.137 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.008917, allocations: 0 / 332 MB, free: 8.137 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.008937, allocations: 38.5 kB / 332 MB, free: 8.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.293e-06/0.008939, allocations: 0 / 332 MB, free: 8.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.0009679/0.009906, allocations: 0.6956 MB / 332.7 MB, free: 7.359 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.009935, allocations: 55.41 kB / 332.8 MB, free: 7.293 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.01006, allocations: 195.7 kB / 333 MB, free: 7.094 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.01007, allocations: 29.7 kB / 333 MB, free: 7.059 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.194e-05/0.01016, allocations: 176.5 kB / 333.2 MB, free: 6.883 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.349e-05/0.0102, allocations: 95.16 kB / 333.2 MB, free: 6.789 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.335e-05/0.01025, allocations: 49.98 kB / 333.3 MB, free: 6.734 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.253e-05/0.01034, allocations: 326.8 kB / 333.6 MB, free: 6.406 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.81e-05/0.01042, allocations: 72.53 kB / 333.7 MB, free: 6.336 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.858e-05/0.01052, allocations: 111.8 kB / 333.8 MB, free: 6.223 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.01071, allocations: 177.6 kB / 334 MB, free: 6.043 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.01071, allocations: 0 / 334 MB, free: 6.043 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003274/0.01104, allocations: 318 kB / 334.3 MB, free: 5.723 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.01105, allocations: 4 kB / 334.3 MB, free: 5.719 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.01106, allocations: 8.031 kB / 334.3 MB, free: 5.711 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001885/0.01125, allocations: 92.73 kB / 334.4 MB, free: 5.617 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.01135, allocations: 43.98 kB / 334.4 MB, free: 5.574 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/0.01273, allocations: 1.973 MB / 336.4 MB, free: 3.484 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.957e-05/0.01279, allocations: 4 kB / 336.4 MB, free: 3.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.01281, allocations: 8 kB / 336.4 MB, free: 3.473 MB / 298.7 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.0001113/0.01292, allocations: 145.7 kB / 336.6 MB, free: 3.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.01295, allocations: 19.86 kB / 336.6 MB, free: 3.301 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.452e-05/0.01297, allocations: 29.95 kB / 336.6 MB, free: 3.277 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.01297, allocations: 4.094 kB / 336.6 MB, free: 3.273 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.01298, allocations: 8 kB / 336.6 MB, free: 3.266 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.01298, allocations: 4 kB / 336.6 MB, free: 3.262 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006856/0.01367, allocations: 0.6817 MB / 337.3 MB, free: 2.527 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.01367, allocations: 0 / 337.3 MB, free: 2.527 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.01379, allocations: 39.98 kB / 337.3 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001595/0.01395, allocations: 80.67 kB / 337.4 MB, free: 2.406 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.01396, allocations: 4 kB / 337.4 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001384/0.01534, allocations: 1.864 MB / 339.3 MB, free: 428 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.01535, allocations: 4 kB / 339.3 MB, free: 424 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004448/0.01579, allocations: 451.9 kB / 339.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.284e-05/0.01582, allocations: 23.84 kB / 339.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.01584, allocations: 8 kB / 339.8 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.944e-05/0.01593, allocations: 12.28 kB / 339.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.01598, allocations: 28.02 kB / 339.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.01599, allocations: 4 kB / 339.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.286e-05/0.01609, allocations: 147.2 kB / 339.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01609, allocations: 0 / 339.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003124/0.0164, allocations: 76 kB / 340 MB, free: 15.66 MB / 314.7 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.0006069/0.01701, allocations: 0.9979 MB / 341 MB, free: 14.63 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000459/0.01747, allocations: 351.1 kB / 341.4 MB, free: 14.28 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.01747, allocations: 0 / 341.4 MB, free: 14.28 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002516/0.01772, allocations: 262.4 kB / 341.6 MB, free: 14.01 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.01804, allocations: 40.03 kB / 341.7 MB, free: 13.97 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/0.02046, allocations: 2.719 MB / 344.4 MB, free: 11.15 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.02058, allocations: 158.8 kB / 344.5 MB, free: 10.98 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.597e-05/0.02065, allocations: 22.28 kB / 344.6 MB, free: 10.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.66e-05/0.02073, allocations: 84.47 kB / 344.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of SimCode: time 1.383e-06/0.02073, allocations: 0 / 344.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02413/0.04486, allocations: 6.752 MB / 351.4 MB, free: 4.266 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.085/7.13, allocations: 2.656 kB / 351.4 MB, free: 4.266 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins/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: 8.868698995560408]