Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.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.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClockVectorized",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.001175/0.001175, allocations: 180.8 kB / 16.11 MB, free: 5.695 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.335/1.335, allocations: 205 MB / 221.9 MB, free: 9.152 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.0006845/0.0006845, allocations: 89.69 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.06424/0.06424, allocations: 12.58 MB / 330.4 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004348/0.000435, allocations: 8 kB / 391.2 MB, free: 66.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07216/0.07263, allocations: 49.98 MB / 441.1 MB, free: 16.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.001086/0.07376, allocations: 0.7518 MB / 441.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003002/0.07411, allocations: 135.5 kB / 442 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.998e-05/0.07422, allocations: 0 / 442 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.07434, allocations: 11.92 kB / 442 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.806e-05/0.07443, allocations: 11.94 kB / 442.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.07464, allocations: 39.91 kB / 442.1 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.754e-05/0.07473, allocations: 63.83 kB / 442.2 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.07485, allocations: 43.91 kB / 442.2 MB, free: 15.24 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.039e-05/0.07489, allocations: 19.88 kB / 442.2 MB, free: 15.22 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.191e-05/0.07493, allocations: 23.84 kB / 442.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.07495, allocations: 0 / 442.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.145e-05/0.07497, allocations: 4 kB / 442.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.858e-05/0.07504, allocations: 23.86 kB / 442.3 MB, free: 15.17 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.316e-05/0.07509, allocations: 31.73 kB / 442.3 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.974e-05/0.07518, allocations: 75.86 kB / 442.4 MB, free: 15.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.07519, allocations: 4 kB / 442.4 MB, free: 15.06 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.0752, allocations: 0 / 442.4 MB, free: 15.06 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.07521, allocations: 0 / 442.4 MB, free: 15.06 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003013/0.07551, allocations: 391.1 kB / 442.8 MB, free: 14.63 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.07555, allocations: 8.031 kB / 442.8 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.223e-05/0.07559, allocations: 46.73 kB / 442.8 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.732e-05/0.07562, allocations: 12.75 kB / 442.8 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.07577, allocations: 200.7 kB / 443 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.07579, allocations: 4.375 kB / 443 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.07581, allocations: 12.31 kB / 443 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.07614, allocations: 226.7 kB / 443.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.07615, allocations: 0 / 443.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.07617, allocations: 4 kB / 443.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.07618, allocations: 4 kB / 443.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.96e-05/0.07624, allocations: 39.91 kB / 443.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001022/0.07635, allocations: 197.5 kB / 443.5 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.07652, allocations: 123 kB / 443.6 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.089e-05/0.07661, allocations: 82.2 kB / 443.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.07663, allocations: 7.938 kB / 443.7 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.07665, allocations: 34.56 kB / 443.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.062e-06/0.07666, allocations: 0 / 443.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.000213/0.07688, allocations: 154.1 kB / 443.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.07692, allocations: 67.34 kB / 444 MB, free: 13.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.612e-05/0.077, allocations: 142.4 kB / 444.1 MB, free: 13.13 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.775e-06/0.07702, allocations: 29.7 kB / 444.1 MB, free: 13.1 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.422e-05/0.07704, allocations: 92.45 kB / 444.2 MB, free: 13 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.497e-05/0.07707, allocations: 4 kB / 444.2 MB, free: 13 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/0.07709, allocations: 21.7 kB / 444.2 MB, free: 12.97 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.183e-05/0.07714, allocations: 326.8 kB / 444.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.588e-05/0.07717, allocations: 23.91 kB / 444.6 MB, free: 12.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.414e-05/0.07723, allocations: 120.7 kB / 444.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.009e-05/0.07733, allocations: 153.5 kB / 444.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.07734, allocations: 3.938 kB / 444.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001595/0.0775, allocations: 153.7 kB / 445 MB, free: 12.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.07752, allocations: 8.031 kB / 445 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.07753, allocations: 4 kB / 445 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.07755, allocations: 8 kB / 445 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.021e-05/0.07765, allocations: 31.92 kB / 445.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.07766, allocations: 4 kB / 445.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.125e-05/0.07771, allocations: 15.84 kB / 445.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.07773, allocations: 8 kB / 445.1 MB, free: 12.02 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.418e-05/0.07782, allocations: 141.7 kB / 445.2 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.07793, allocations: 121.5 kB / 445.3 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.255e-05/0.07797, allocations: 17.17 kB / 445.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.07798, allocations: 4 kB / 445.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.07799, allocations: 0 / 445.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.078, allocations: 0 / 445.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.291e-05/0.07807, allocations: 197.4 kB / 445.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.07807, allocations: 7.875 kB / 445.6 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.911e-05/0.07816, allocations: 23.98 kB / 445.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.07817, allocations: 0 / 445.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.07818, allocations: 4 kB / 445.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.07819, allocations: 8 kB / 445.6 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.07819, allocations: 4 kB / 445.6 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.07832, allocations: 144.9 kB / 445.7 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.07838, allocations: 108.8 kB / 445.8 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.0784, allocations: 8 kB / 445.9 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.22e-05/0.07843, allocations: 0 / 445.9 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-06/0.07843, allocations: 0 / 445.9 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.07845, allocations: 4 kB / 445.9 MB, free: 11.14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.535e-05/0.0785, allocations: 112 kB / 446 MB, free: 11.03 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.0785, allocations: 8 kB / 446 MB, free: 11.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002003/0.07871, allocations: 16 kB / 446 MB, free: 11 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 0.0003284/0.07904, allocations: 0.7293 MB / 446.7 MB, free: 10.24 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001271/0.07918, allocations: 88.84 kB / 446.8 MB, free: 10.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.07919, allocations: 0 / 446.8 MB, free: 10.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.51e-07/0.07919, allocations: 0 / 446.8 MB, free: 10.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.07952, allocations: 80.92 kB / 446.9 MB, free: 10.08 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009472/0.08048, allocations: 1.68 MB / 448.6 MB, free: 8.219 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.08061, allocations: 0.7165 MB / 449.3 MB, free: 7.477 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.886e-05/0.08065, allocations: 8.656 kB / 449.3 MB, free: 7.469 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.997e-05/0.08069, allocations: 31.42 kB / 449.3 MB, free: 7.438 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.0807, allocations: 0 / 449.3 MB, free: 7.438 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3418/0.4225, allocations: 2.194 MB / 451.5 MB, free: 5.234 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002488/0.4228, allocations: 244 kB / 451.8 MB, free: 4.973 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/2.261, allocations: 0 / 451.8 MB, free: 4.973 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClockVectorized.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches