Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008006/0.0008006, allocations: 103 kB / 16.07 MB, free: 28 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.0008901/0.0008901, allocations: 181.6 kB / 16.96 MB, free: 6.875 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.237/1.237, allocations: 205.4 MB / 223.1 MB, free: 5.766 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.0632/0.0632, allocations: 12.61 MB / 284 MB, free: 8.824 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.0006825/0.0006825, allocations: 27.98 kB / 345.2 MB, free: 20.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07998/0.08067, allocations: 50.38 MB / 395.5 MB, free: 2.465 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.001934/0.08265, allocations: 1.318 MB / 396.9 MB, free: 1.133 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009185/0.0836, allocations: 0.4997 MB / 397.4 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.263e-05/0.08372, allocations: 4 kB / 397.4 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.848e-05/0.08383, allocations: 7.922 kB / 397.4 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.08394, allocations: 19.86 kB / 397.4 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.08423, allocations: 43.89 kB / 397.4 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000113/0.08435, allocations: 55.78 kB / 397.5 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.08448, allocations: 16 kB / 397.5 MB, free: 492 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.022e-05/0.08458, allocations: 23.84 kB / 397.5 MB, free: 468 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.439e-05/0.08465, allocations: 23.86 kB / 397.6 MB, free: 444 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.08469, allocations: 4 kB / 397.6 MB, free: 440 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.182e-05/0.08471, allocations: 0 / 397.6 MB, free: 440 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.323e-05/0.08479, allocations: 19.92 kB / 397.6 MB, free: 420 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.759e-05/0.08485, allocations: 53.5 kB / 397.6 MB, free: 360 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.08496, allocations: 60 kB / 397.7 MB, free: 300 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.08497, allocations: 4 kB / 397.7 MB, free: 296 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.08498, allocations: 0 / 397.7 MB, free: 296 kB / 286.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.08499, allocations: 4 kB / 397.7 MB, free: 292 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005218/0.08552, allocations: 387 kB / 398.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.08557, allocations: 12.03 kB / 398.1 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.08562, allocations: 16.84 kB / 398.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.08581, allocations: 200.1 kB / 398.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.08583, allocations: 8.375 kB / 398.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.08585, allocations: 4.375 kB / 398.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.08613, allocations: 126.2 kB / 398.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.08615, allocations: 0 / 398.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.08617, allocations: 8 kB / 398.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.08619, allocations: 4 kB / 398.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.08634, allocations: 55.83 kB / 398.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004966/0.08684, allocations: 381.8 kB / 398.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.087, allocations: 91.78 kB / 399 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.08713, allocations: 42.56 kB / 399 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.08716, allocations: 0 / 399 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.08719, allocations: 42.55 kB / 399 MB, free: 14.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.0872, allocations: 4 kB / 399.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003742/0.08758, allocations: 121.4 kB / 399.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.086e-05/0.08766, allocations: 119.1 kB / 399.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.08781, allocations: 154.1 kB / 399.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.08784, allocations: 25.7 kB / 399.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.977e-05/0.0879, allocations: 88.14 kB / 399.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.08793, allocations: 15.89 kB / 399.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.08797, allocations: 9.719 kB / 399.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.08814, allocations: 322.8 kB / 399.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.056e-05/0.08822, allocations: 19.98 kB / 399.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.944e-05/0.08831, allocations: 47.41 kB / 400 MB, free: 13.74 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.08847, allocations: 75.34 kB / 400 MB, free: 13.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.08848, allocations: 3.938 kB / 400 MB, free: 13.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001974/0.08868, allocations: 93.59 kB / 400.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.08871, allocations: 8 kB / 400.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.08872, allocations: 0 / 400.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.08874, allocations: 0 / 400.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.08886, allocations: 19.92 kB / 400.2 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.08887, allocations: 0 / 400.2 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.208e-05/0.08894, allocations: 16.03 kB / 400.2 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.08896, allocations: 4 kB / 400.2 MB, free: 13.51 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 8.524e-05/0.08905, allocations: 125.8 kB / 400.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.319e-05/0.08915, allocations: 49.59 kB / 400.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.85e-05/0.08918, allocations: 11.88 kB / 400.4 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.0892, allocations: 0 / 400.4 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.08921, allocations: 4 kB / 400.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.433e-06/0.08922, allocations: 3.984 kB / 400.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.08946, allocations: 177.6 kB / 400.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.08947, allocations: 8.031 kB / 400.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.081e-05/0.08954, allocations: 15.92 kB / 400.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.08955, allocations: 0 / 400.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.08956, allocations: 0 / 400.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.08957, allocations: 0 / 400.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.08957, allocations: 4 kB / 400.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.08987, allocations: 279.5 kB / 400.8 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.755e-05/0.08995, allocations: 101.1 kB / 400.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.08998, allocations: 7.922 kB / 400.9 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.09009, allocations: 8 kB / 400.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.09014, allocations: 15.92 kB / 401 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.09015, allocations: 0 / 401 MB, free: 12.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.53e-05/0.09023, allocations: 123.1 kB / 401.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09024, allocations: 0 / 401.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.0905, allocations: 4 kB / 401.1 MB, free: 12.48 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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 8.805e-05/0.09059, allocations: 99.23 kB / 401.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001836/0.09078, allocations: 67.83 kB / 401.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.09079, allocations: 0 / 401.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.768e-05/0.09086, allocations: 19.98 kB / 401.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.09128, allocations: 25.44 kB / 401.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003614/0.09166, allocations: 243.8 kB / 401.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.0919, allocations: 0.7004 MB / 402.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.63e-05/0.09196, allocations: 8 kB / 402.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.767e-05/0.09199, allocations: 15.42 kB / 402.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.092, allocations: 0 / 402.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of Templates: time 0.002538/0.09454, allocations: 0.6134 MB / 402.9 MB, free: 10.64 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches