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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008379/0.000838, allocations: 177 kB / 16.12 MB, free: 5.691 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.253/1.253, allocations: 205 MB / 221.9 MB, free: 9.148 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007346/0.0007347, allocations: 95.06 kB / 269.9 MB, free: 8.668 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06837/0.06837, allocations: 12.57 MB / 330.4 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004414/0.0004416, allocations: 12 kB / 391.2 MB, free: 66.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0898/0.09026, allocations: 49.98 MB / 441.1 MB, free: 16.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.001747/0.09205, allocations: 1.32 MB / 442.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008724/0.09296, allocations: 0.5191 MB / 443 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.0931, allocations: 3.938 kB / 443 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.09322, allocations: 7.938 kB / 443 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.09334, allocations: 11.92 kB / 443 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.09362, allocations: 39.91 kB / 443 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.09374, allocations: 63.77 kB / 443.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.09385, allocations: 12 kB / 443.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.202e-05/0.09394, allocations: 23.86 kB / 443.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.407e-05/0.09402, allocations: 31.84 kB / 443.2 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.09405, allocations: 0 / 443.2 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.412e-05/0.09407, allocations: 4 kB / 443.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.117e-05/0.09414, allocations: 15.92 kB / 443.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.786e-05/0.09418, allocations: 27.8 kB / 443.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.908e-05/0.09429, allocations: 67.94 kB / 443.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.09429, allocations: 0 / 443.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.0943, allocations: 0 / 443.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.09431, allocations: 3.938 kB / 443.3 MB, free: 14.12 MB / 298.7 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.00045/0.09477, allocations: 383.1 kB / 443.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.09482, allocations: 12.02 kB / 443.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.88e-05/0.09486, allocations: 38.75 kB / 443.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.186e-05/0.0949, allocations: 8.844 kB / 443.7 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.0951, allocations: 204 kB / 443.9 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.09512, allocations: 384 / 443.9 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.09514, allocations: 4.375 kB / 443.9 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002933/0.09544, allocations: 138 kB / 444.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.09546, allocations: 0 / 444.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.09547, allocations: 4 kB / 444.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.322e-05/0.0955, allocations: 0 / 444.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.09564, allocations: 51.91 kB / 444.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.09605, allocations: 385.8 kB / 444.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.09622, allocations: 83.83 kB / 444.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.551e-05/0.09631, allocations: 46.56 kB / 444.6 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.09633, allocations: 8 kB / 444.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.09636, allocations: 30.56 kB / 444.7 MB, free: 12.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.09636, allocations: 0 / 444.7 MB, free: 12.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003253/0.09669, allocations: 133.5 kB / 444.8 MB, free: 12.4 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.09675, allocations: 106.8 kB / 444.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.25e-05/0.09684, allocations: 158.1 kB / 445.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.09686, allocations: 25.98 kB / 445.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.215e-05/0.0969, allocations: 100.1 kB / 445.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.09692, allocations: 3.906 kB / 445.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-05/0.09695, allocations: 9.719 kB / 445.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.304e-05/0.09699, allocations: 326.8 kB / 445.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.131e-05/0.09706, allocations: 23.92 kB / 445.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.929e-05/0.09713, allocations: 47.42 kB / 445.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.09725, allocations: 75.34 kB / 445.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.09726, allocations: 0 / 445.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001633/0.09743, allocations: 93.5 kB / 445.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.09745, allocations: 8.125 kB / 445.7 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.09746, allocations: 4 kB / 445.8 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.09748, allocations: 0 / 445.8 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.725e-05/0.09757, allocations: 19.92 kB / 445.8 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.09758, allocations: 0 / 445.8 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.392e-05/0.09764, allocations: 11.98 kB / 445.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.09766, allocations: 0 / 445.8 MB, free: 11.32 MB / 298.7 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 5.537e-05/0.09772, allocations: 122.7 kB / 445.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.223e-05/0.09779, allocations: 57.59 kB / 446 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.228e-05/0.09782, allocations: 19.81 kB / 446 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.09784, allocations: 4 kB / 446 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.09785, allocations: 3.938 kB / 446 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.09786, allocations: 3.938 kB / 446 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.09802, allocations: 189.6 kB / 446.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.09803, allocations: 0 / 446.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.669e-05/0.09809, allocations: 11.98 kB / 446.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.0981, allocations: 0 / 446.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.09812, allocations: 4.031 kB / 446.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.09812, allocations: 4 kB / 446.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.09813, allocations: 0 / 446.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.09832, allocations: 275.5 kB / 446.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/0.09837, allocations: 101.1 kB / 446.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.0984, allocations: 7.922 kB / 446.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.09851, allocations: 8 kB / 446.6 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.09855, allocations: 3.984 kB / 446.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.09856, allocations: 0 / 446.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.101e-05/0.09861, allocations: 123.1 kB / 446.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09862, allocations: 4 kB / 446.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002415/0.09887, allocations: 11.98 kB / 446.7 MB, free: 10.28 MB / 298.7 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.0003442/0.09921, allocations: 0.8023 MB / 447.5 MB, free: 9.445 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001523/0.09938, allocations: 55.89 kB / 447.6 MB, free: 9.391 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.09939, allocations: 8.188 kB / 447.6 MB, free: 9.383 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.921e-05/0.09945, allocations: 27.92 kB / 447.6 MB, free: 9.355 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.09986, allocations: 20.02 kB / 447.6 MB, free: 9.336 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.101, allocations: 1.611 MB / 449.2 MB, free: 7.613 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.1011, allocations: 0.6926 MB / 449.9 MB, free: 6.895 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.608e-05/0.1012, allocations: 11.98 kB / 449.9 MB, free: 6.883 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.646e-05/0.1012, allocations: 19.42 kB / 450 MB, free: 6.867 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.1012, allocations: 0 / 450 MB, free: 6.867 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009734/0.1109, allocations: 1.63 MB / 451.6 MB, free: 5.234 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001442/0.1111, allocations: 249.9 kB / 451.8 MB, free: 4.973 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/1.767, allocations: 0 / 451.8 MB, free: 4.973 MB / 298.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/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