Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007058/0.0007058, allocations: 93.47 kB / 17.31 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007612/0.0007612, allocations: 174.8 kB / 18.21 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 223.3 MB / 242.3 MB, free: 204 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002273/0.0002273, allocations: 11.94 kB / 302.1 MB, free: 6.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07279/0.07304, allocations: 50.41 MB / 352.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.001665/0.07474, allocations: 1.451 MB / 353.9 MB, free: 2.23 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008473/0.0756, allocations: 0.5883 MB / 354.5 MB, free: 1.637 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.461e-05/0.0757, allocations: 7.938 kB / 354.5 MB, free: 1.629 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.07583, allocations: 23.86 kB / 354.6 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.07601, allocations: 31.84 kB / 354.6 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.07635, allocations: 103.1 kB / 354.7 MB, free: 1.477 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.07653, allocations: 151.6 kB / 354.8 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.07665, allocations: 29.55 kB / 354.9 MB, free: 1.297 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.07676, allocations: 59.7 kB / 354.9 MB, free: 1.238 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.07695, allocations: 103.5 kB / 355 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.07699, allocations: 8 kB / 355 MB, free: 1.129 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.978e-05/0.07701, allocations: 4 kB / 355 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.92e-05/0.0771, allocations: 63.8 kB / 355.1 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.233e-05/0.07719, allocations: 105.2 kB / 355.2 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.07735, allocations: 143.9 kB / 355.4 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.07736, allocations: 8 kB / 355.4 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.07736, allocations: 0 / 355.4 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.07737, allocations: 0 / 355.4 MB, free: 0.8047 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006474/0.07803, allocations: 478.7 kB / 355.8 MB, free: 296 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.07806, allocations: 11.97 kB / 355.8 MB, free: 284 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/0.07812, allocations: 24.66 kB / 355.9 MB, free: 260 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.07836, allocations: 247.8 kB / 356.1 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/0.0784, allocations: 16.33 kB / 356.1 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.07844, allocations: 20.38 kB / 356.1 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.07946, allocations: 0.6382 MB / 356.8 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.07948, allocations: 0 / 356.8 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.07951, allocations: 8 kB / 356.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.07954, allocations: 8 kB / 356.8 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003921/0.07993, allocations: 187.8 kB / 357 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000374/0.08032, allocations: 374.2 kB / 357.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004218/0.08075, allocations: 251.7 kB / 357.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/0.08103, allocations: 166.5 kB / 357.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/0.08107, allocations: 12.14 kB / 357.8 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.0811, allocations: 34.56 kB / 357.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 1.593e-06/0.08111, allocations: 0 / 357.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008196/0.08193, allocations: 426.5 kB / 358.2 MB, free: 13.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.244e-05/0.08203, allocations: 142.9 kB / 358.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.08217, allocations: 166.4 kB / 358.5 MB, free: 13.4 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.0822, allocations: 29.7 kB / 358.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.968e-05/0.08226, allocations: 101 kB / 358.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/0.08231, allocations: 47.52 kB / 358.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.085e-05/0.08236, allocations: 49.69 kB / 358.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.505e-05/0.08247, allocations: 334.9 kB / 359.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.08261, allocations: 76.83 kB / 359.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.08288, allocations: 322.7 kB / 359.5 MB, free: 12.31 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003993/0.08329, allocations: 416.9 kB / 359.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.0833, allocations: 4 kB / 359.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005725/0.08388, allocations: 413.1 kB / 360.3 MB, free: 11.37 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.0839, allocations: 8 kB / 360.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.08392, allocations: 12 kB / 360.3 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.08395, allocations: 12 kB / 360.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.08419, allocations: 87.7 kB / 360.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.08422, allocations: 16.5 kB / 360.4 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.08439, allocations: 35.84 kB / 360.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.08442, allocations: 27.98 kB / 360.5 MB, free: 11.18 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 13 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,superSampleIpo.usedFactor,$CLKPRE.FIR1.first,FIR1.first,$CLKPRE.FIR2.first,FIR2.first,$CLKPRE.upSample.b_super,upSample.b_super,$CLKPRE.superSampleIpo.first,superSampleIpo.first,$CLKPRE.upSample.b,upSample.b) * Number of discrete states: 0 () * Number of clocked states: 13 (superSampleIpo.ticks,FIR1.first,FIR1.u_buffer[2],FIR1.u_buffer[1],FIR2.first,FIR2.u_buffer[4],FIR2.u_buffer[3],FIR2.u_buffer[2],FIR2.u_buffer[1],upSample.b_super,superSampleIpo.first,superSampleIpo.uu,upSample.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0001476/0.08457, allocations: 183.2 kB / 360.6 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004869/0.08506, allocations: 298.2 kB / 360.9 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.239e-05/0.08516, allocations: 38.59 kB / 361 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.08517, allocations: 7.984 kB / 361 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.08518, allocations: 4 kB / 361 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.08519, allocations: 7.984 kB / 361 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.08542, allocations: 245.3 kB / 361.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-06/0.08543, allocations: 4 kB / 361.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.08569, allocations: 63.91 kB / 361.3 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.08571, allocations: 4 kB / 361.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.08573, allocations: 7.984 kB / 361.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.08574, allocations: 4 kB / 361.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.08575, allocations: 0 / 361.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005725/0.08633, allocations: 443.7 kB / 361.7 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.08644, allocations: 128.7 kB / 361.9 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.794e-05/0.0865, allocations: 19.98 kB / 361.9 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.08666, allocations: 19.98 kB / 361.9 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.248e-05/0.08669, allocations: 0 / 361.9 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.08672, allocations: 12 kB / 361.9 MB, free: 9.613 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.676e-05/0.08681, allocations: 135.5 kB / 362.1 MB, free: 9.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.08682, allocations: 0 / 362.1 MB, free: 9.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000385/0.08721, allocations: 48 kB / 362.1 MB, free: 9.434 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 (upSample.b_super,FIR2.first,FIR1.first,superSampleIpo.usedFactor,superSampleIpo.ticks,upSample.b,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 13 (upSample.b_super,FIR2.u_buffer[1],FIR2.u_buffer[2],FIR2.u_buffer[3],FIR2.u_buffer[4],FIR2.first,FIR1.u_buffer[1],FIR1.u_buffer[2],FIR1.first,superSampleIpo.ticks,upSample.b,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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.0001065/0.08732, allocations: 118.5 kB / 362.2 MB, free: 9.309 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004734/0.0878, allocations: 297.7 kB / 362.5 MB, free: 9.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.08781, allocations: 0 / 362.5 MB, free: 9.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.469e-05/0.08786, allocations: 11.98 kB / 362.5 MB, free: 9.008 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006391/0.08851, allocations: 222.6 kB / 362.7 MB, free: 8.793 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.08972, allocations: 0.6667 MB / 363.4 MB, free: 8.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.09002, allocations: 0.7842 MB / 364.2 MB, free: 7.277 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.264e-05/0.09009, allocations: 27.44 kB / 364.2 MB, free: 7.25 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.0901, allocations: 0 / 364.2 MB, free: 7.25 MB / 302.1 MB Notification: Performance of Templates: time 0.00452/0.09462, allocations: 2.913 MB / 367.1 MB, free: 4.352 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches