Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.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.001818/0.001818, allocations: 123.9 kB / 17.79 MB, free: 5.266 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.001887/0.001887, allocations: 189.2 kB / 20.73 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 225.6 MB / 249.1 MB, free: 3.574 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_4_0_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_4_0_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 43.91 kB / 365.6 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1044, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002978/0.1074, allocations: 1.64 MB / 419.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.1085, allocations: 0.6465 MB / 420 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.426e-05/0.1085, allocations: 4 kB / 420 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002864/0.1088, allocations: 55.7 kB / 420.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.109, allocations: 27.8 kB / 420.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.1102, allocations: 0.6141 MB / 420.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.1104, allocations: 119.7 kB / 420.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.277e-05/0.1105, allocations: 13.12 kB / 420.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.1107, allocations: 63.7 kB / 420.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.1108, allocations: 83.66 kB / 421 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.1108, allocations: 12 kB / 421 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002184/0.1111, allocations: 135.8 kB / 421.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.1112, allocations: 35.89 kB / 421.2 MB, free: 9.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.795e-05/0.1112, allocations: 59.59 kB / 421.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003057/0.1115, allocations: 215.2 kB / 421.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1115, allocations: 3.984 kB / 421.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1115, allocations: 0 / 421.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1115, allocations: 0 / 421.5 MB, free: 8.879 MB / 350.1 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.001479/0.113, allocations: 0.5571 MB / 422 MB, free: 8.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.1131, allocations: 8.031 kB / 422 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.265e-05/0.1131, allocations: 46.73 kB / 422.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001401/0.1145, allocations: 172.6 kB / 422.2 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.1147, allocations: 198.2 kB / 422.4 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.1147, allocations: 8.375 kB / 422.4 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.1147, allocations: 12.38 kB / 422.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003898/0.1151, allocations: 181.6 kB / 422.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1152, allocations: 11.92 kB / 422.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.1152, allocations: 4 kB / 422.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.257e-05/0.1152, allocations: 8 kB / 422.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004361/0.1156, allocations: 160.5 kB / 422.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009392/0.1166, allocations: 0.5354 MB / 423.4 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004337/0.117, allocations: 150.5 kB / 423.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.1172, allocations: 88.73 kB / 423.6 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.1172, allocations: 7.984 kB / 423.6 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.1173, allocations: 38.69 kB / 423.6 MB, free: 6.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.203e-06/0.1173, allocations: 0 / 423.6 MB, free: 6.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007245/0.118, allocations: 265.4 kB / 423.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.118, allocations: 51.41 kB / 423.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.1182, allocations: 186.4 kB / 424.1 MB, free: 6.023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.1182, allocations: 25.7 kB / 424.1 MB, free: 5.992 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.998e-05/0.1183, allocations: 116.2 kB / 424.3 MB, free: 5.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.1184, allocations: 43.64 kB / 424.3 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.957e-05/0.1184, allocations: 41.69 kB / 424.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.1186, allocations: 322.8 kB / 424.7 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.1188, allocations: 67.89 kB / 424.7 MB, free: 5.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.119, allocations: 96.7 kB / 424.8 MB, free: 5.289 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000394/0.1194, allocations: 170.5 kB / 425 MB, free: 5.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.1194, allocations: 0 / 425 MB, free: 5.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000478/0.1199, allocations: 217.2 kB / 425.2 MB, free: 4.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1199, allocations: 6.188 kB / 425.2 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1199, allocations: 4 kB / 425.2 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.1199, allocations: 3.984 kB / 425.2 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.1202, allocations: 43.97 kB / 425.3 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1202, allocations: 0 / 425.3 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.1203, allocations: 19.88 kB / 425.3 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.1203, allocations: 4 kB / 425.3 MB, free: 4.82 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00012/0.1204, allocations: 141.7 kB / 425.4 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.424e-05/0.1205, allocations: 15.84 kB / 425.4 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005999/0.1211, allocations: 247 kB / 425.7 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.1211, allocations: 7.984 kB / 425.7 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1211, allocations: 0 / 425.7 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1211, allocations: 0 / 425.7 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.1214, allocations: 273.4 kB / 425.9 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1214, allocations: 0 / 425.9 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.1216, allocations: 47.84 kB / 426 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.1216, allocations: 4 kB / 426 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.1217, allocations: 7.984 kB / 426 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1217, allocations: 0 / 426 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1217, allocations: 4 kB / 426 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005775/0.1222, allocations: 321.3 kB / 426.3 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-05/0.1223, allocations: 92.95 kB / 426.4 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.1223, allocations: 4 kB / 426.4 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.1225, allocations: 11.98 kB / 426.4 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.971e-05/0.1225, allocations: 15.98 kB / 426.4 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-05/0.1226, allocations: 7.984 kB / 426.5 MB, free: 3.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.1227, allocations: 144.2 kB / 426.6 MB, free: 3.398 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1227, allocations: 3.938 kB / 426.6 MB, free: 3.395 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.123, allocations: 31.95 kB / 426.6 MB, free: 3.363 MB / 350.1 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 (18): * Single equations (assignments): 18 * 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.0008904/0.1239, allocations: 0.8567 MB / 427.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004346/0.1243, allocations: 171.7 kB / 427.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1243, allocations: 0 / 427.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.1245, allocations: 94.5 kB / 427.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.1248, allocations: 16 kB / 427.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002992/0.1278, allocations: 2.147 MB / 429.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.1282, allocations: 0.7241 MB / 430.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.1283, allocations: 37.39 kB / 430.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.1284, allocations: 55.41 kB / 430.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1284, allocations: 0 / 430.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02744/0.1558, allocations: 3.808 MB / 434.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.525/8.681, allocations: 24.52 kB / 434.6 MB, free: 11.4 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 11.3587543098256]