Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.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.0008627/0.0008627, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0009417/0.0009417, allocations: 156.9 kB / 23.94 MB, free: 0.6172 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.9139/0.9139, allocations: 177 MB / 204.1 MB, free: 5.738 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.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 324.5 MB, free: 15.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.953e-05/2.08e-05, allocations: 2.984 kB / 324.5 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.001925/0.001946, allocations: 1.684 MB / 326.2 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000884/0.00283, allocations: 0.7204 MB / 326.9 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.138e-05/0.002881, allocations: 4 kB / 326.9 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.003101, allocations: 51.61 kB / 326.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001611/0.003262, allocations: 43.64 kB / 327 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005893/0.003852, allocations: 474 kB / 327.4 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003108/0.004162, allocations: 127.5 kB / 327.6 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.724e-05/0.00426, allocations: 17.81 kB / 327.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.571e-05/0.004355, allocations: 79.73 kB / 327.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002025/0.004558, allocations: 83.77 kB / 327.7 MB, free: 12.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.004582, allocations: 8 kB / 327.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/0.004765, allocations: 111.9 kB / 327.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.823e-05/0.004813, allocations: 35.84 kB / 327.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.814e-05/0.004852, allocations: 39.84 kB / 327.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.005088, allocations: 223.3 kB / 328.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.005091, allocations: 0 / 328.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.005093, allocations: 4 kB / 328.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.005097, allocations: 0 / 328.1 MB, free: 12.09 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007938/0.005891, allocations: 465.3 kB / 328.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.005928, allocations: 15.98 kB / 328.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.481e-05/0.005963, allocations: 42.73 kB / 328.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003495/0.006313, allocations: 104.7 kB / 328.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.006479, allocations: 166.3 kB / 328.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.006492, allocations: 8.359 kB / 328.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.006508, allocations: 12.38 kB / 328.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.006745, allocations: 162 kB / 329.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.006753, allocations: 192 / 329.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.006765, allocations: 8.125 kB / 329.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.006783, allocations: 4 kB / 329.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.007002, allocations: 159.9 kB / 329.3 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006047/0.007606, allocations: 499.4 kB / 329.8 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.007852, allocations: 134.6 kB / 329.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.272e-05/0.007945, allocations: 72.75 kB / 330 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.007965, allocations: 0 / 330 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.007987, allocations: 34.5 kB / 330 MB, free: 10.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 9.11e-07/0.007988, allocations: 0 / 330 MB, free: 10.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003609/0.008348, allocations: 213.6 kB / 330.2 MB, free: 9.898 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.00838, allocations: 55.41 kB / 330.3 MB, free: 9.832 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.008524, allocations: 222.8 kB / 330.5 MB, free: 9.602 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.008536, allocations: 29.64 kB / 330.5 MB, free: 9.566 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.292e-05/0.008599, allocations: 124.2 kB / 330.6 MB, free: 9.438 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.008619, allocations: 35.72 kB / 330.7 MB, free: 9.402 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.008661, allocations: 37.66 kB / 330.7 MB, free: 9.359 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.967e-05/0.008741, allocations: 326.8 kB / 331 MB, free: 9.031 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-05/0.008833, allocations: 59.95 kB / 331.1 MB, free: 8.973 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.962e-05/0.008933, allocations: 91.75 kB / 331.2 MB, free: 8.871 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.009131, allocations: 160.2 kB / 331.3 MB, free: 8.699 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.009134, allocations: 0 / 331.3 MB, free: 8.699 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002315/0.009365, allocations: 185.8 kB / 331.5 MB, free: 8.512 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.009382, allocations: 12.06 kB / 331.5 MB, free: 8.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.009388, allocations: 7.984 kB / 331.5 MB, free: 8.492 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.009401, allocations: 4 kB / 331.5 MB, free: 8.488 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.879e-05/0.00949, allocations: 36 kB / 331.6 MB, free: 8.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.009496, allocations: 7.938 kB / 331.6 MB, free: 8.445 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.563e-05/0.009552, allocations: 19.88 kB / 331.6 MB, free: 8.426 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.009561, allocations: 4 kB / 331.6 MB, free: 8.422 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.758e-05/0.009639, allocations: 133.8 kB / 331.7 MB, free: 8.281 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.009661, allocations: 19.84 kB / 331.7 MB, free: 8.262 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000265/0.009926, allocations: 183 kB / 331.9 MB, free: 8.082 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.009928, allocations: 4 kB / 331.9 MB, free: 8.078 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.009933, allocations: 0 / 331.9 MB, free: 8.078 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.009936, allocations: 0 / 331.9 MB, free: 8.078 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.0101, allocations: 196.6 kB / 332.1 MB, free: 7.844 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.0101, allocations: 4 kB / 332.1 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.993e-05/0.01017, allocations: 23.97 kB / 332.1 MB, free: 7.816 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.01018, allocations: 3.938 kB / 332.1 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.01019, allocations: 11.94 kB / 332.2 MB, free: 7.801 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.01019, allocations: 4 kB / 332.2 MB, free: 7.797 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01019, allocations: 0 / 332.2 MB, free: 7.797 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.01043, allocations: 263.3 kB / 332.4 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.4e-05/0.01047, allocations: 23.89 kB / 332.4 MB, free: 7.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.01049, allocations: 7.938 kB / 332.5 MB, free: 7.492 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.795e-05/0.01055, allocations: 7.984 kB / 332.5 MB, free: 7.484 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.01059, allocations: 7.984 kB / 332.5 MB, free: 7.477 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.852e-06/0.01059, allocations: 8 kB / 332.5 MB, free: 7.469 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.702e-05/0.01068, allocations: 160.2 kB / 332.6 MB, free: 7.312 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01068, allocations: 0 / 332.6 MB, free: 7.312 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001785/0.01086, allocations: 27.95 kB / 332.7 MB, free: 7.285 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004621/0.01132, allocations: 0.8021 MB / 333.5 MB, free: 6.457 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002334/0.01155, allocations: 135.8 kB / 333.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.01156, allocations: 0 / 333.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.977e-05/0.01164, allocations: 67.89 kB / 333.7 MB, free: 6.258 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.01189, allocations: 28.52 kB / 333.7 MB, free: 6.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.01376, allocations: 2.143 MB / 335.8 MB, free: 3.977 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.752e-05/0.01384, allocations: 107.4 kB / 335.9 MB, free: 3.848 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.201e-05/0.01392, allocations: 33.66 kB / 336 MB, free: 3.816 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.005e-05/0.014, allocations: 48.47 kB / 336 MB, free: 3.77 MB / 298.7 MB Notification: Performance of SimCode: time 6.52e-07/0.014, allocations: 3.938 kB / 336 MB, free: 3.766 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01976/0.03376, allocations: 4.233 MB / 340.3 MB, free: 15.63 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.753/6.787, allocations: 0 / 340.3 MB, free: 15.63 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat --tempDir=temp_Modelica_trunk_Modelica_ComplexBlocks_Examples_ShowTransferFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.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.476649370975792]