Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.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.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|add.y|sample.y|upSample1.y|upSample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|add.y|sample.y|upSample1.y|upSample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001865/0.001864, allocations: 105.9 kB / 16.45 MB, free: 6.434 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.001879/0.001879, allocations: 190.6 kB / 17.39 MB, free: 5.691 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.756/1.756, allocations: 205.1 MB / 223.3 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0816/0.0816, allocations: 12.6 MB / 283.2 MB, free: 15.4 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.001898/0.001898, allocations: 82.84 kB / 394.2 MB, free: 45.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1134, allocations: 49.41 MB / 443.6 MB, free: 492 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1): time 0.003393/0.1169, allocations: 1.725 MB / 445.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.1181, allocations: 0.5774 MB / 445.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.1182, allocations: 7.938 kB / 445.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.378e-05/0.1183, allocations: 11.86 kB / 445.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.1185, allocations: 15.86 kB / 445.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004277/0.1189, allocations: 95.7 kB / 446 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.1191, allocations: 95.7 kB / 446.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.1192, allocations: 40.78 kB / 446.1 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.1193, allocations: 43.83 kB / 446.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.102e-05/0.1194, allocations: 39.78 kB / 446.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.105e-05/0.1195, allocations: 11.94 kB / 446.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.806e-05/0.1195, allocations: 8 kB / 446.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.613e-05/0.1196, allocations: 27.92 kB / 446.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.827e-05/0.1197, allocations: 51.66 kB / 446.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.1199, allocations: 107.5 kB / 446.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.1199, allocations: 0 / 446.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1199, allocations: 0 / 446.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.1199, allocations: 0 / 446.4 MB, free: 13.61 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000728/0.1206, allocations: 430.8 kB / 446.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.1207, allocations: 12.03 kB / 446.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.822e-05/0.1207, allocations: 16.75 kB / 446.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.121, allocations: 218.1 kB / 447.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.121, allocations: 8.375 kB / 447.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.1211, allocations: 8.375 kB / 447.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004773/0.1215, allocations: 277.7 kB / 447.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.1216, allocations: 3.984 kB / 447.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.1216, allocations: 4 kB / 447.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.1216, allocations: 8 kB / 447.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.1217, allocations: 55.89 kB / 447.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/0.1222, allocations: 302.5 kB / 447.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.1224, allocations: 135.7 kB / 447.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.1226, allocations: 70.84 kB / 447.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.1226, allocations: 7.938 kB / 448 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.1226, allocations: 34.56 kB / 448 MB, free: 11.85 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 3.046e-06/0.1227, allocations: 4 kB / 448 MB, free: 11.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004198/0.1231, allocations: 169.5 kB / 448.2 MB, free: 11.67 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.122e-05/0.1232, allocations: 122.8 kB / 448.3 MB, free: 11.53 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.1233, allocations: 154.1 kB / 448.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.1234, allocations: 29.7 kB / 448.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.928e-05/0.1234, allocations: 96.03 kB / 448.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.1235, allocations: 19.8 kB / 448.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.156e-05/0.1235, allocations: 41.83 kB / 448.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1237, allocations: 326.8 kB / 448.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.676e-05/0.1237, allocations: 23.98 kB / 448.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.1239, allocations: 134.5 kB / 449.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002149/0.1241, allocations: 170.3 kB / 449.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1241, allocations: 0 / 449.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000284/0.1244, allocations: 181.1 kB / 449.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.1245, allocations: 8 kB / 449.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.1245, allocations: 4 kB / 449.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.1245, allocations: 8 kB / 449.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.1246, allocations: 32.83 kB / 449.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.1246, allocations: 15.92 kB / 449.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.028e-05/0.1247, allocations: 15.88 kB / 449.5 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.1248, allocations: 12 kB / 449.5 MB, free: 10.14 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 8 ($CLKPRE.upSample2.b_super,upSample2.b_super,$CLKPRE.upSample1.b_super,upSample1.b_super,$CLKPRE.upSample2.b,upSample2.b,$CLKPRE.upSample1.b,upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001226/0.1249, allocations: 137.7 kB / 449.7 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.1251, allocations: 121.7 kB / 449.8 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.756e-05/0.1251, allocations: 20.7 kB / 449.8 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1251, allocations: 0 / 449.8 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.1252, allocations: 4 kB / 449.8 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.1252, allocations: 3.938 kB / 449.8 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/0.1254, allocations: 197.6 kB / 450 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1254, allocations: 0 / 450 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.1255, allocations: 23.98 kB / 450 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.1255, allocations: 0 / 450 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.1255, allocations: 7.938 kB / 450 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.155e-06/0.1255, allocations: 0 / 450 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1256, allocations: 4 kB / 450 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.1259, allocations: 257 kB / 450.3 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.649e-05/0.126, allocations: 101 kB / 450.4 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.126, allocations: 0 / 450.4 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.219e-05/0.1261, allocations: 11.98 kB / 450.4 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/0.1262, allocations: 7.922 kB / 450.4 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.1262, allocations: 4 kB / 450.4 MB, free: 9.148 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.611e-05/0.1263, allocations: 119.2 kB / 450.5 MB, free: 9.031 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1263, allocations: 3.938 kB / 450.5 MB, free: 9.027 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.1266, allocations: 24 kB / 450.5 MB, free: 9.004 MB / 334.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: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001544/0.1267, allocations: 107.2 kB / 450.6 MB, free: 8.891 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002984/0.127, allocations: 112.7 kB / 450.8 MB, free: 8.781 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.127, allocations: 0 / 450.8 MB, free: 8.781 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.358e-05/0.1271, allocations: 16.05 kB / 450.8 MB, free: 8.766 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/0.1276, allocations: 84.36 kB / 450.9 MB, free: 8.684 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005373/0.1281, allocations: 257.8 kB / 451.1 MB, free: 8.402 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.1285, allocations: 0.7202 MB / 451.8 MB, free: 7.656 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.969e-05/0.1286, allocations: 13.5 kB / 451.8 MB, free: 7.641 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.68e-05/0.1286, allocations: 15.42 kB / 451.9 MB, free: 7.625 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1286, allocations: 0 / 451.9 MB, free: 7.625 MB / 334.1 MB Notification: Performance of Templates: time 0.004461/0.1331, allocations: 1.253 MB / 453.1 MB, free: 6.371 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches