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.00133/0.00133, allocations: 100.3 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.001439/0.001439, allocations: 178.4 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.568/1.568, allocations: 205.4 MB / 222.8 MB, free: 5.633 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.08352/0.08352, 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.0008889/0.0008892, allocations: 24 kB / 344.5 MB, free: 21.27 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1134, allocations: 50.37 MB / 394.9 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1): time 0.002238/0.1157, allocations: 1.426 MB / 396.3 MB, free: 1.363 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009612/0.1166, allocations: 0.5389 MB / 396.9 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.1168, allocations: 8 kB / 396.9 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.957e-05/0.1169, allocations: 3.938 kB / 396.9 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.1171, allocations: 23.89 kB / 396.9 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00047/0.1175, allocations: 83.66 kB / 397 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.1177, allocations: 51.89 kB / 397 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.1178, allocations: 25.09 kB / 397 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.1179, allocations: 43.83 kB / 397.1 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.506e-05/0.118, allocations: 35.83 kB / 397.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.118, allocations: 7.938 kB / 397.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.746e-05/0.1181, allocations: 4 kB / 397.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.616e-05/0.1181, allocations: 15.92 kB / 397.2 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.082e-05/0.1182, allocations: 45.64 kB / 397.2 MB, free: 480 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.1183, allocations: 67.86 kB / 397.3 MB, free: 412 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.1183, allocations: 4 kB / 397.3 MB, free: 408 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1183, allocations: 3.938 kB / 397.3 MB, free: 404 kB / 286.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1183, allocations: 0 / 397.3 MB, free: 404 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006089/0.1189, allocations: 403.1 kB / 397.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.119, allocations: 8.031 kB / 397.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.645e-05/0.1191, allocations: 15.81 kB / 397.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.1193, allocations: 218.7 kB / 397.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.1194, allocations: 4 kB / 397.9 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.1194, allocations: 12 kB / 397.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005252/0.1199, allocations: 281.9 kB / 398.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.12, allocations: 0 / 398.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.12, allocations: 0 / 398.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.12, allocations: 4 kB / 398.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.1202, allocations: 55.91 kB / 398.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000405/0.1206, allocations: 310.4 kB / 398.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.1208, allocations: 135.7 kB / 398.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.1209, allocations: 4.062 kB / 398.7 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.1209, allocations: 42.69 kB / 398.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.342e-06/0.1209, allocations: 3.938 kB / 398.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004254/0.1213, allocations: 169.4 kB / 398.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.912e-05/0.1214, allocations: 122.9 kB / 399 MB, free: 14.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.1216, allocations: 150.2 kB / 399.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.1216, allocations: 33.7 kB / 399.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.61e-05/0.1217, allocations: 92.05 kB / 399.3 MB, free: 14.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.1217, allocations: 20.03 kB / 399.3 MB, free: 14.1 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-06/0.1217, allocations: 4 kB / 399.3 MB, free: 14.1 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1219, allocations: 326.8 kB / 399.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.705e-05/0.122, allocations: 24.36 kB / 399.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.1221, allocations: 139.3 kB / 399.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.1223, allocations: 52.3 kB / 399.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.1223, allocations: 0 / 399.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003135/0.1226, allocations: 185.2 kB / 400 MB, free: 13.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.1226, allocations: 8 kB / 400 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.1226, allocations: 7.938 kB / 400 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.1227, allocations: 4 kB / 400 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.1228, allocations: 31.92 kB / 400.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.1228, allocations: 8.438 kB / 400.1 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.835e-05/0.1229, allocations: 19.94 kB / 400.1 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.1229, allocations: 8 kB / 400.1 MB, free: 13.23 MB / 302.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 (upSample2.b_super,$CLKPRE.upSample2.b_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample2.b,$CLKPRE.upSample2.b,upSample1.b,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001296/0.1231, allocations: 149.5 kB / 400.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.1233, allocations: 113.4 kB / 400.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.082e-05/0.1233, allocations: 20.72 kB / 400.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.1233, allocations: 4 kB / 400.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1234, allocations: 0 / 400.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1234, allocations: 0 / 400.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.1236, allocations: 197.5 kB / 400.6 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1236, allocations: 8 kB / 400.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.1237, allocations: 27.98 kB / 400.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.1238, allocations: 7.922 kB / 400.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.1238, allocations: 3.984 kB / 400.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.1238, allocations: 4 kB / 400.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.1238, allocations: 0 / 400.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003381/0.1241, allocations: 279.9 kB / 400.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.084e-05/0.1242, allocations: 105 kB / 401 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.1243, allocations: 3.938 kB / 401 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.588e-05/0.1244, allocations: 8 kB / 401 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.1244, allocations: 4 kB / 401 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.1244, allocations: 11.98 kB / 401 MB, free: 12.19 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.174e-05/0.1245, allocations: 123.9 kB / 401.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1245, allocations: 0 / 401.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002956/0.1248, allocations: 23.95 kB / 401.2 MB, free: 12.04 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: 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 (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.000117/0.125, allocations: 99.23 kB / 401.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002775/0.1252, allocations: 116.2 kB / 401.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1253, allocations: 0 / 401.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.129e-05/0.1253, allocations: 8 kB / 401.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004492/0.1258, allocations: 83.97 kB / 401.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005616/0.1263, allocations: 304.2 kB / 401.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.1266, allocations: 0.7205 MB / 402.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.075e-05/0.1267, allocations: 13.42 kB / 402.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.953e-05/0.1268, allocations: 15.44 kB / 402.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1268, allocations: 0 / 402.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of Templates: time 0.004081/0.1308, allocations: 1.046 MB / 403.6 MB, free: 9.582 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches