Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_Synchronous.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="FIR1.y|FIR2.y|Time|sample.y|superSampleIpo.y|upSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="FIR1.y|FIR2.y|Time|sample.y|superSampleIpo.y|upSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.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.001145/0.001145, allocations: 100.6 kB / 15.73 MB, free: 436 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 178.2 kB / 16.61 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.4 MB / 222.8 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09117/0.09117, allocations: 12.6 MB / 283.6 MB, free: 8.703 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000722/0.0007224, allocations: 20 kB / 344.5 MB, free: 21.28 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.101, allocations: 50.39 MB / 394.9 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2): time 0.002197/0.1032, allocations: 1.424 MB / 396.3 MB, free: 1.363 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.1044, allocations: 0.613 MB / 396.9 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.1046, allocations: 3.938 kB / 396.9 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001696/0.1048, allocations: 15.86 kB / 396.9 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002679/0.1051, allocations: 35.83 kB / 397 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004416/0.1055, allocations: 107.8 kB / 397.1 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.1058, allocations: 91.77 kB / 397.2 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.1059, allocations: 29.53 kB / 397.2 MB, free: 476 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.106, allocations: 63.75 kB / 397.3 MB, free: 412 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001964/0.1063, allocations: 83.72 kB / 397.4 MB, free: 328 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.1063, allocations: 7.938 kB / 397.4 MB, free: 320 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.372e-05/0.1063, allocations: 8 kB / 397.4 MB, free: 312 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.379e-05/0.1064, allocations: 59.81 kB / 397.4 MB, free: 252 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.912e-05/0.1065, allocations: 61.56 kB / 397.5 MB, free: 184 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.1067, allocations: 143.9 kB / 397.6 MB, free: 40 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1067, allocations: 0 / 397.6 MB, free: 40 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1067, allocations: 0 / 397.6 MB, free: 40 kB / 286.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1067, allocations: 0 / 397.6 MB, free: 40 kB / 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.0008269/0.1075, allocations: 478.6 kB / 398.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.1076, allocations: 8.031 kB / 398.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.711e-05/0.1077, allocations: 27.72 kB / 398.1 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.108, allocations: 246.5 kB / 398.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.142e-05/0.1081, allocations: 16 kB / 398.4 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.916e-05/0.1081, allocations: 19.98 kB / 398.4 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.1093, allocations: 0.6295 MB / 399 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.1094, allocations: 4 kB / 399 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.1094, allocations: 4 kB / 399 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.088e-05/0.1094, allocations: 8 kB / 399.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004591/0.1099, allocations: 191.8 kB / 399.2 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006751/0.1106, allocations: 370.2 kB / 399.6 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004924/0.1111, allocations: 239.6 kB / 399.8 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.486e-05/0.1111, allocations: 12.7 kB / 399.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.1112, allocations: 34.62 kB / 399.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 2.314e-06/0.1112, allocations: 4 kB / 399.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.0009807/0.1122, allocations: 426.4 kB / 400.3 MB, free: 13.15 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001616/0.1124, allocations: 142.8 kB / 400.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.1126, allocations: 166.3 kB / 400.6 MB, free: 12.81 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.1126, allocations: 33.7 kB / 400.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.529e-05/0.1127, allocations: 101 kB / 400.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.747e-05/0.1128, allocations: 47.55 kB / 400.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.565e-05/0.1128, allocations: 12 kB / 400.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.113, allocations: 330.8 kB / 401.1 MB, free: 12.28 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.1132, allocations: 80.83 kB / 401.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000338/0.1135, allocations: 322.7 kB / 401.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/0.1138, allocations: 131.8 kB / 401.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.1138, allocations: 4 kB / 401.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005887/0.1144, allocations: 401.7 kB / 402 MB, free: 11.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.1145, allocations: 16 kB / 402 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.1145, allocations: 8 kB / 402.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.455e-05/0.1145, allocations: 12 kB / 402.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.1148, allocations: 91.77 kB / 402.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.937e-05/0.1148, allocations: 12 kB / 402.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.115, allocations: 39.62 kB / 402.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/0.115, allocations: 27.95 kB / 402.2 MB, free: 11.03 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 (superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,FIR1.first,$CLKPRE.FIR1.first,FIR2.first,$CLKPRE.FIR2.first,upSample.b_super,$CLKPRE.upSample.b_super,superSampleIpo.first,$CLKPRE.superSampleIpo.first,upSample.b,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001916/0.1152, allocations: 189.5 kB / 402.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000459/0.1157, allocations: 286.6 kB / 402.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.459e-05/0.1158, allocations: 34.66 kB / 402.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.1158, allocations: 4 kB / 402.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.1158, allocations: 4 kB / 402.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.1158, allocations: 11.92 kB / 402.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.116, allocations: 245.2 kB / 403 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1161, allocations: 0 / 403 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/0.1163, allocations: 67.89 kB / 403.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.1163, allocations: 4 kB / 403.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.1164, allocations: 8 kB / 403.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.1164, allocations: 7.984 kB / 403.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1164, allocations: 0 / 403.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006361/0.117, allocations: 467.1 kB / 403.5 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.1172, allocations: 128.8 kB / 403.7 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.641e-05/0.1172, allocations: 19.98 kB / 403.7 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.1174, allocations: 15.92 kB / 403.7 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.1174, allocations: 7.953 kB / 403.7 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.1175, allocations: 15.94 kB / 403.7 MB, free: 9.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001097/0.1176, allocations: 131.5 kB / 403.8 MB, free: 9.301 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1176, allocations: 4 kB / 403.9 MB, free: 9.297 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004011/0.118, allocations: 52 kB / 403.9 MB, free: 9.246 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001418/0.1181, allocations: 111.1 kB / 404 MB, free: 9.129 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005404/0.1187, allocations: 292.7 kB / 404.3 MB, free: 8.844 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1187, allocations: 0 / 404.3 MB, free: 8.844 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.037e-05/0.1188, allocations: 11.98 kB / 404.3 MB, free: 8.832 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005568/0.1193, allocations: 205 kB / 404.5 MB, free: 8.633 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.1206, allocations: 0.6102 MB / 405.1 MB, free: 7.996 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.121, allocations: 0.7809 MB / 405.9 MB, free: 7.191 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.601e-05/0.1211, allocations: 30.28 kB / 405.9 MB, free: 7.164 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.783e-05/0.1212, allocations: 23.44 kB / 406 MB, free: 7.141 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1212, allocations: 4 kB / 406 MB, free: 7.137 MB / 302.1 MB Notification: Performance of Templates: time 0.005836/0.127, allocations: 2.298 MB / 408.3 MB, free: 4.836 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches