Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 69.33 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 162.2 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.416/1.416, allocations: 177.2 MB / 204.9 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|logFrequencySweep.y|const.y.re|const.y.im|transferFunction.y.re|transferFunction.y.im",fileNamePrefix="Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction") translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|logFrequencySweep.y|const.y.re|const.y.im|transferFunction.y.re|transferFunction.y.im",fileNamePrefix="Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 55.78 kB / 325.5 MB, free: 252 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09528/0.09685, allocations: 53.33 MB / 378.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003538/0.1004, allocations: 1.678 MB / 380.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.1019, allocations: 0.7049 MB / 381.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.461e-05/0.102, allocations: 4 kB / 381.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.1023, allocations: 55.7 kB / 381.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002118/0.1025, allocations: 47.59 kB / 381.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.1036, allocations: 474.1 kB / 381.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.1038, allocations: 123.6 kB / 382 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1039, allocations: 17.8 kB / 382 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.1041, allocations: 67.7 kB / 382 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002404/0.1043, allocations: 83.66 kB / 382.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.597e-05/0.1043, allocations: 12 kB / 382.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002684/0.1046, allocations: 115.9 kB / 382.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.181e-05/0.1047, allocations: 35.84 kB / 382.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.223e-05/0.1048, allocations: 47.72 kB / 382.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003405/0.1051, allocations: 207.1 kB / 382.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1051, allocations: 0 / 382.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1051, allocations: 0 / 382.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.311e-06/0.1051, allocations: 0 / 382.5 MB, free: 11.99 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.001307/0.1064, allocations: 477.3 kB / 383 MB, free: 11.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.1064, allocations: 8.031 kB / 383 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006844/0.1071, allocations: 100.7 kB / 383.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.1074, allocations: 166.2 kB / 383.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.1074, allocations: 12.38 kB / 383.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.1074, allocations: 12.38 kB / 383.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000383/0.1078, allocations: 165.8 kB / 383.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.1078, allocations: 0 / 383.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.1078, allocations: 7.984 kB / 383.5 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.1079, allocations: 4 kB / 383.5 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004073/0.1083, allocations: 151.9 kB / 383.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009868/0.1093, allocations: 476 kB / 384.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004111/0.1097, allocations: 130.7 kB / 384.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.1099, allocations: 60.81 kB / 384.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.1099, allocations: 7.984 kB / 384.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.1099, allocations: 46.61 kB / 384.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.1099, allocations: 0 / 384.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006277/0.1106, allocations: 205.5 kB / 384.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.1106, allocations: 51.41 kB / 384.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.1108, allocations: 184.1 kB / 384.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1108, allocations: 29.7 kB / 384.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.258e-05/0.1109, allocations: 127.9 kB / 384.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.1109, allocations: 35.73 kB / 384.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.419e-05/0.111, allocations: 37.59 kB / 385 MB, free: 9.383 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1112, allocations: 322.8 kB / 385.3 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.1113, allocations: 55.97 kB / 385.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.1115, allocations: 96.23 kB / 385.4 MB, free: 8.895 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/0.1119, allocations: 152.5 kB / 385.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1119, allocations: 0 / 385.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004662/0.1124, allocations: 201.3 kB / 385.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1124, allocations: 8 kB / 385.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1124, allocations: 0 / 385.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1124, allocations: 0 / 385.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.1126, allocations: 31.97 kB / 385.8 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.1126, allocations: 4 kB / 385.8 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.1127, allocations: 15.89 kB / 385.8 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.1128, allocations: 12.11 kB / 385.8 MB, free: 8.457 MB / 350.1 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 0.0001267/0.1129, allocations: 130.4 kB / 386 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.1129, allocations: 15.84 kB / 386 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004966/0.1134, allocations: 183 kB / 386.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.1134, allocations: 3.938 kB / 386.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1134, allocations: 0 / 386.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1134, allocations: 0 / 386.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/0.1137, allocations: 181.2 kB / 386.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1137, allocations: 4 kB / 386.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.1138, allocations: 23.92 kB / 386.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.1138, allocations: 7.938 kB / 386.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.1139, allocations: 3.984 kB / 386.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1139, allocations: 0 / 386.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1139, allocations: 0 / 386.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004716/0.1143, allocations: 263.4 kB / 386.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.025e-05/0.1144, allocations: 27.83 kB / 386.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.1144, allocations: 7.938 kB / 386.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.1146, allocations: 12 kB / 386.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.1146, allocations: 15.91 kB / 386.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.1146, allocations: 0 / 386.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001219/0.1147, allocations: 135.9 kB / 386.8 MB, free: 7.398 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1147, allocations: 0 / 386.8 MB, free: 7.398 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002846/0.115, allocations: 23.94 kB / 386.9 MB, free: 7.375 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 (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.0001388/0.1152, allocations: 111.2 kB / 387 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004291/0.1156, allocations: 131.8 kB / 387.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1156, allocations: 0 / 387.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.1158, allocations: 63.89 kB / 387.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.1161, allocations: 19.09 kB / 387.2 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006546/0.1167, allocations: 326.2 kB / 387.5 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.1168, allocations: 118.7 kB / 387.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001002/0.1169, allocations: 32.36 kB / 387.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.61e-05/0.117, allocations: 24.42 kB / 387.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.117, allocations: 0 / 387.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of Templates: time 0.004857/0.1219, allocations: 1.574 MB / 389.2 MB, free: 4.965 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.176553852041252]