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.001681/0.001688, allocations: 101.2 kB / 16.45 MB, free: 6.441 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.001681/0.001681, allocations: 190 kB / 17.39 MB, free: 5.668 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.613/1.613, allocations: 205.1 MB / 223.3 MB, free: 12.2 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.09008/0.09008, allocations: 12.58 MB / 283.2 MB, free: 15.39 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.00183/0.00183, allocations: 83.52 kB / 394.2 MB, free: 45.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1274, allocations: 49.41 MB / 443.6 MB, free: 480 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.004496/0.1319, allocations: 1.602 MB / 445.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.1334, allocations: 0.5229 MB / 445.7 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.1336, allocations: 4 kB / 445.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.1338, allocations: 7.875 kB / 445.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.1339, allocations: 19.84 kB / 445.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.1343, allocations: 43.89 kB / 445.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.1345, allocations: 59.78 kB / 445.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.1347, allocations: 23.92 kB / 445.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.1348, allocations: 31.84 kB / 445.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.988e-05/0.1349, allocations: 27.84 kB / 445.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.1349, allocations: 4 kB / 445.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.362e-05/0.1349, allocations: 4 kB / 445.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.229e-05/0.135, allocations: 23.92 kB / 445.9 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.829e-05/0.1351, allocations: 35.75 kB / 446 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.1353, allocations: 67.67 kB / 446 MB, free: 13.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.1353, allocations: 0 / 446 MB, free: 13.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.05e-06/0.1353, allocations: 3.984 kB / 446 MB, free: 13.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.1353, allocations: 4 kB / 446.1 MB, free: 13.97 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007537/0.1361, allocations: 387 kB / 446.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.1361, allocations: 8.031 kB / 446.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.974e-05/0.1362, allocations: 12.75 kB / 446.5 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.1365, allocations: 206.1 kB / 446.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.1365, allocations: 4.375 kB / 446.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.1365, allocations: 384 / 446.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003317/0.1369, allocations: 130.2 kB / 446.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1369, allocations: 7.984 kB / 446.8 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.1369, allocations: 0 / 446.8 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.61e-05/0.137, allocations: 11.88 kB / 446.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.1371, allocations: 43.97 kB / 446.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004953/0.1376, allocations: 377.8 kB / 447.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.1378, allocations: 87.77 kB / 447.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.313e-05/0.1378, allocations: 38.62 kB / 447.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.1379, allocations: 3.938 kB / 447.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.1379, allocations: 38.56 kB / 447.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.1379, allocations: 0 / 447.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003722/0.1383, allocations: 117.4 kB / 447.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/0.1384, allocations: 107.2 kB / 447.6 MB, free: 12.19 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.1385, allocations: 154.1 kB / 447.7 MB, free: 12.03 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.1385, allocations: 25.7 kB / 447.8 MB, free: 12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.174e-05/0.1386, allocations: 96.12 kB / 447.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.1386, allocations: 7.906 kB / 447.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/0.1387, allocations: 25.61 kB / 447.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1388, allocations: 322.8 kB / 448.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.483e-05/0.1389, allocations: 11.98 kB / 448.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.892e-05/0.1389, allocations: 47.41 kB / 448.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.1391, allocations: 67.34 kB / 448.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1391, allocations: 0 / 448.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001911/0.1393, allocations: 85.59 kB / 448.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1393, allocations: 7.938 kB / 448.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1394, allocations: 0 / 448.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.1394, allocations: 4 kB / 448.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.1395, allocations: 15.98 kB / 448.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.1395, allocations: 4.125 kB / 448.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.36e-05/0.1396, allocations: 7.906 kB / 448.5 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.1396, allocations: 4 kB / 448.5 MB, free: 11.25 MB / 334.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 0.0001009/0.1397, allocations: 121.8 kB / 448.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.631e-05/0.1398, allocations: 53.53 kB / 448.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.35e-05/0.1398, allocations: 15.83 kB / 448.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.1398, allocations: 4 kB / 448.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1399, allocations: 0 / 448.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1399, allocations: 32 / 448.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.1401, allocations: 193.5 kB / 448.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.1401, allocations: 0 / 448.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.042e-05/0.1402, allocations: 11.98 kB / 448.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1402, allocations: 0 / 448.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.1402, allocations: 0 / 448.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1402, allocations: 0 / 448.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.1403, allocations: 4 kB / 448.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003121/0.1406, allocations: 279.4 kB / 449.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.595e-05/0.1407, allocations: 100.9 kB / 449.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.1407, allocations: 0 / 449.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.1408, allocations: 7.984 kB / 449.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.555e-05/0.1409, allocations: 7.984 kB / 449.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.1409, allocations: 4 kB / 449.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.157e-05/0.141, allocations: 119.2 kB / 449.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.141, allocations: 0 / 449.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.1412, allocations: 8 kB / 449.4 MB, free: 10.24 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: 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 0.0001057/0.1414, allocations: 91.25 kB / 449.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000197/0.1416, allocations: 59.83 kB / 449.5 MB, free: 10.08 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1416, allocations: 0 / 449.5 MB, free: 10.08 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.773e-05/0.1416, allocations: 24.23 kB / 449.5 MB, free: 10.06 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.1421, allocations: 23.95 kB / 449.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004/0.1425, allocations: 197.3 kB / 449.8 MB, free: 9.805 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.1428, allocations: 0.6924 MB / 450.5 MB, free: 9.086 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.461e-05/0.1428, allocations: 20.33 kB / 450.5 MB, free: 9.066 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.947e-05/0.1429, allocations: 7.438 kB / 450.5 MB, free: 9.059 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1429, allocations: 0 / 450.5 MB, free: 9.059 MB / 334.1 MB Notification: Performance of Templates: time 0.00314/0.146, allocations: 0.6994 MB / 451.2 MB, free: 8.359 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile (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) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches