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.0009956/0.0009957, allocations: 95.66 kB / 15.73 MB, free: 440 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.001114/0.001114, allocations: 178.5 kB / 16.61 MB, free: 6.145 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.471/1.471, allocations: 205.4 MB / 222.8 MB, free: 5.879 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.07847/0.07847, allocations: 12.6 MB / 283.6 MB, free: 8.945 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.0006874/0.0006874, allocations: 24 kB / 344.5 MB, free: 21.3 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1169, allocations: 50.39 MB / 394.9 MB, free: 2.824 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.001951/0.1189, allocations: 1.291 MB / 396.2 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008195/0.1198, allocations: 0.4883 MB / 396.7 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.612e-05/0.1199, allocations: 8 kB / 396.7 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.208e-05/0.12, allocations: 3.938 kB / 396.7 MB, free: 1.012 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.461e-05/0.1201, allocations: 15.97 kB / 396.7 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.1203, allocations: 39.84 kB / 396.7 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.1204, allocations: 43.86 kB / 396.8 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.1206, allocations: 8 kB / 396.8 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.262e-05/0.1207, allocations: 23.92 kB / 396.8 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.504e-05/0.1207, allocations: 23.86 kB / 396.8 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.1207, allocations: 4 kB / 396.8 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.348e-05/0.1208, allocations: 0 / 396.8 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.724e-05/0.1208, allocations: 19.97 kB / 396.9 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.892e-05/0.1209, allocations: 37.64 kB / 396.9 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.47e-05/0.1209, allocations: 40.2 kB / 396.9 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.121, allocations: 0 / 396.9 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.121, allocations: 0 / 396.9 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.121, allocations: 0 / 396.9 MB, free: 0.7539 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005586/0.1215, allocations: 398.7 kB / 397.3 MB, free: 324 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1216, allocations: 8.031 kB / 397.3 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.1216, allocations: 7.906 kB / 397.3 MB, free: 308 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.1219, allocations: 198.8 kB / 397.5 MB, free: 68 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.1219, allocations: 4 kB / 397.5 MB, free: 64 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.1219, allocations: 4 kB / 397.5 MB, free: 60 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003331/0.1222, allocations: 133.9 kB / 397.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1223, allocations: 0 / 397.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.1223, allocations: 0 / 397.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/0.1223, allocations: 4 kB / 397.7 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.1225, allocations: 55.89 kB / 397.7 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000477/0.1229, allocations: 385.8 kB / 398.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.1231, allocations: 83.78 kB / 398.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.1231, allocations: 0 / 398.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.1232, allocations: 42.56 kB / 398.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1232, allocations: 0 / 398.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.000405/0.1236, allocations: 214.8 kB / 398.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/0.1236, allocations: 106.8 kB / 398.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.1238, allocations: 154.1 kB / 398.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.1238, allocations: 29.7 kB / 398.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.203e-05/0.1239, allocations: 88.14 kB / 398.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.1239, allocations: 15.89 kB / 398.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.1239, allocations: 0 / 398.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.124, allocations: 314.8 kB / 399.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.438e-05/0.1241, allocations: 31.95 kB / 399.2 MB, free: 14.24 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.462e-05/0.1242, allocations: 47.41 kB / 399.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.412e-05/0.1243, allocations: 27.98 kB / 399.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1243, allocations: 0 / 399.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001847/0.1245, allocations: 97.56 kB / 399.3 MB, free: 14.05 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1245, allocations: 7.938 kB / 399.3 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1245, allocations: 4 kB / 399.4 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1245, allocations: 0 / 399.4 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.1246, allocations: 19.92 kB / 399.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.1247, allocations: 4 kB / 399.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.514e-05/0.1247, allocations: 8 kB / 399.4 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1247, allocations: 4 kB / 399.4 MB, free: 14.01 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.224e-05/0.1248, allocations: 133.6 kB / 399.5 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.056e-05/0.1249, allocations: 49.59 kB / 399.6 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.125, allocations: 11.88 kB / 399.6 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.125, allocations: 0 / 399.6 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.125, allocations: 0 / 399.6 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.125, allocations: 4 kB / 399.6 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.1252, allocations: 181.6 kB / 399.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1252, allocations: 0 / 399.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.264e-05/0.1253, allocations: 19.95 kB / 399.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1253, allocations: 4 kB / 399.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-06/0.1253, allocations: 0 / 399.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1253, allocations: 0 / 399.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1253, allocations: 4 kB / 399.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.1256, allocations: 298.9 kB / 400.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.433e-05/0.1257, allocations: 97 kB / 400.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.1257, allocations: 0 / 400.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.1258, allocations: 7.984 kB / 400.2 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.1259, allocations: 15.92 kB / 400.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.1259, allocations: 0 / 400.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.828e-05/0.126, allocations: 119.1 kB / 400.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.126, allocations: 0 / 400.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1263, allocations: 15.89 kB / 400.3 MB, free: 12.95 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 (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.0001132/0.1264, allocations: 95.19 kB / 400.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.1266, allocations: 67.89 kB / 400.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1266, allocations: 0 / 400.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.745e-05/0.1267, allocations: 19.98 kB / 400.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.127, allocations: 25.44 kB / 400.5 MB, free: 12.74 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004064/0.1275, allocations: 231.8 kB / 400.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.1277, allocations: 0.7004 MB / 401.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.825e-05/0.1278, allocations: 15.97 kB / 401.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.002e-05/0.1278, allocations: 7.438 kB / 401.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1278, allocations: 0 / 401.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of Templates: time 0.002746/0.1306, allocations: 0.6047 MB / 402.1 MB, free: 11.12 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