Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.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.AssignClock,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClock",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.001131/0.001131, allocations: 180.6 kB / 16.12 MB, free: 5.688 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.392/1.392, allocations: 205 MB / 221.9 MB, free: 9.156 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.0006779/0.0006779, allocations: 88.36 kB / 269.9 MB, free: 8.676 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.07039/0.07039, allocations: 12.58 MB / 330.4 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003666, allocations: 8 kB / 391.2 MB, free: 66.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07037/0.07076, allocations: 49.98 MB / 441.1 MB, free: 16.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock): time 0.001048/0.07184, allocations: 0.674 MB / 441.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002692/0.07212, allocations: 119.6 kB / 441.9 MB, free: 15.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.541e-05/0.07221, allocations: 3.938 kB / 441.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.415e-05/0.07226, allocations: 0 / 441.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.07238, allocations: 11.94 kB / 441.9 MB, free: 15.49 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.07258, allocations: 27.92 kB / 442 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.48e-05/0.07266, allocations: 47.83 kB / 442 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.37e-05/0.07275, allocations: 16.19 kB / 442 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.304e-05/0.07278, allocations: 19.92 kB / 442.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.368e-05/0.07282, allocations: 11.88 kB / 442.1 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.07284, allocations: 0 / 442.1 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.068e-05/0.07286, allocations: 0 / 442.1 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.462e-05/0.07291, allocations: 15.92 kB / 442.1 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.392e-05/0.07295, allocations: 23.81 kB / 442.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.345e-05/0.07303, allocations: 44.08 kB / 442.2 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.07304, allocations: 0 / 442.2 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.07305, allocations: 4 kB / 442.2 MB, free: 15.28 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.07305, allocations: 3.938 kB / 442.2 MB, free: 15.28 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003031/0.07336, allocations: 363.2 kB / 442.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.07341, allocations: 8.031 kB / 442.5 MB, free: 14.87 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.452e-05/0.07344, allocations: 34.75 kB / 442.6 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.441e-05/0.07347, allocations: 20.77 kB / 442.6 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.0736, allocations: 199 kB / 442.8 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-06/0.07362, allocations: 4.359 kB / 442.8 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.07364, allocations: 8.375 kB / 442.8 MB, free: 14.56 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.07386, allocations: 135.6 kB / 442.9 MB, free: 14.42 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.07387, allocations: 0 / 442.9 MB, free: 14.42 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-06/0.07388, allocations: 0 / 442.9 MB, free: 14.42 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.07389, allocations: 3.984 kB / 442.9 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.488e-05/0.07393, allocations: 15.94 kB / 442.9 MB, free: 14.4 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.363e-05/0.07403, allocations: 169.7 kB / 443.1 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.07414, allocations: 70.73 kB / 443.2 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.694e-05/0.0742, allocations: 36.86 kB / 443.2 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.07421, allocations: 3.984 kB / 443.2 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.07424, allocations: 38.5 kB / 443.2 MB, free: 14.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.07424, allocations: 3.938 kB / 443.3 MB, free: 14.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001466/0.07439, allocations: 81.59 kB / 443.3 MB, free: 13.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.07444, allocations: 63.41 kB / 443.4 MB, free: 13.85 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.471e-05/0.07452, allocations: 133.8 kB / 443.5 MB, free: 13.71 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.272e-06/0.07453, allocations: 25.7 kB / 443.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.163e-05/0.07456, allocations: 84.3 kB / 443.6 MB, free: 13.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.07458, allocations: 11.89 kB / 443.6 MB, free: 13.58 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.902e-05/0.0746, allocations: 13.72 kB / 443.7 MB, free: 13.56 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.424e-05/0.07465, allocations: 318.8 kB / 444 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.541e-05/0.07467, allocations: 8 kB / 444 MB, free: 13.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.324e-05/0.07471, allocations: 66.78 kB / 444 MB, free: 13.14 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.727e-05/0.07477, allocations: 74.75 kB / 444.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.07478, allocations: 0 / 444.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.319e-05/0.07488, allocations: 89.75 kB / 444.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.0749, allocations: 8 kB / 444.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.07491, allocations: 4 kB / 444.2 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.07493, allocations: 7.984 kB / 444.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.011e-05/0.07499, allocations: 15.94 kB / 444.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.075, allocations: 0 / 444.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.146e-05/0.07504, allocations: 7.906 kB / 444.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.07505, allocations: 8 kB / 444.3 MB, free: 12.9 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.721e-05/0.07511, allocations: 126.6 kB / 444.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.287e-05/0.07518, allocations: 73.67 kB / 444.4 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/0.07522, allocations: 20.7 kB / 444.5 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.07522, allocations: 3.938 kB / 444.5 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.07523, allocations: 0 / 444.5 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.07524, allocations: 3.938 kB / 444.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.018e-05/0.07531, allocations: 173.6 kB / 444.6 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.07531, allocations: 0 / 444.6 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.564e-05/0.07536, allocations: 11.94 kB / 444.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.07537, allocations: 4 kB / 444.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.07538, allocations: 4 kB / 444.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.07539, allocations: 0 / 444.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.07539, allocations: 4 kB / 444.7 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.382e-05/0.07548, allocations: 96.97 kB / 444.8 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/0.07552, allocations: 96.94 kB / 444.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.07555, allocations: 7.984 kB / 444.9 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.716e-05/0.07557, allocations: 4 kB / 444.9 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-06/0.07558, allocations: 0 / 444.9 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.07558, allocations: 0 / 444.9 MB, free: 12.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.977e-05/0.07563, allocations: 105.8 kB / 445 MB, free: 12.08 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.07563, allocations: 4 kB / 445 MB, free: 12.08 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001793/0.07582, allocations: 8 kB / 445 MB, free: 12.07 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: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0003369/0.07616, allocations: 0.6553 MB / 445.6 MB, free: 11.38 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.146e-05/0.07626, allocations: 48.42 kB / 445.7 MB, free: 11.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.07627, allocations: 4.062 kB / 445.7 MB, free: 11.33 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.07628, allocations: 0 / 445.7 MB, free: 11.33 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.0766, allocations: 44.5 kB / 445.7 MB, free: 11.29 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007582/0.07737, allocations: 1.358 MB / 447.1 MB, free: 9.801 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.07749, allocations: 0.7043 MB / 447.8 MB, free: 9.07 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.169e-05/0.07752, allocations: 3.953 kB / 447.8 MB, free: 9.066 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.132e-05/0.07755, allocations: 15.53 kB / 447.8 MB, free: 9.055 MB / 298.7 MB Notification: Performance of SimCode: time 3.1e-07/0.07756, allocations: 3.938 kB / 447.8 MB, free: 9.051 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2148/0.2924, allocations: 1.514 MB / 449.3 MB, free: 7.527 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/0.2926, allocations: 227.2 kB / 449.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.961/2.253, allocations: 3.906 kB / 449.6 MB, free: 7.266 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClock.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches