Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.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/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/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.ClockSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_ClockSignals_SuperSample",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.001045/0.001045, allocations: 176.7 kB / 16.77 MB, free: 5.047 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.171/1.171, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007091/0.0007091, allocations: 86.41 kB / 271.3 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06018/0.06018, allocations: 12.2 MB / 331.8 MB, free: 11.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003612, allocations: 12 kB / 392.2 MB, free: 66.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06581/0.06618, allocations: 50.29 MB / 442.5 MB, free: 16.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample): time 0.001354/0.06757, allocations: 1.246 MB / 443.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006496/0.06824, allocations: 0.4922 MB / 444.2 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.06832, allocations: 7.938 kB / 444.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.878e-05/0.06836, allocations: 3.984 kB / 444.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.06847, allocations: 7.922 kB / 444.3 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002021/0.06868, allocations: 35.91 kB / 444.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.38e-05/0.06878, allocations: 47.84 kB / 444.3 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.59e-05/0.06887, allocations: 19.97 kB / 444.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.431e-05/0.06896, allocations: 27.86 kB / 444.4 MB, free: 14.65 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.779e-05/0.06902, allocations: 15.92 kB / 444.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.06904, allocations: 0 / 444.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.115e-05/0.06906, allocations: 0 / 444.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.17e-05/0.06911, allocations: 11.94 kB / 444.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.229e-05/0.06915, allocations: 57.48 kB / 444.5 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.002e-05/0.06921, allocations: 31.89 kB / 444.5 MB, free: 14.53 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.06922, allocations: 0 / 444.5 MB, free: 14.53 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.06923, allocations: 0 / 444.5 MB, free: 14.53 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.06924, allocations: 3.938 kB / 444.5 MB, free: 14.53 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003387/0.06958, allocations: 371.5 kB / 444.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.06963, allocations: 8.031 kB / 444.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.13e-05/0.06966, allocations: 42.73 kB / 444.9 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.426e-05/0.0697, allocations: 12.84 kB / 444.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.06984, allocations: 196.1 kB / 445.1 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.06986, allocations: 8.312 kB / 445.1 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.06988, allocations: 384 / 445.1 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.07012, allocations: 121.2 kB / 445.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.07014, allocations: 0 / 445.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.114e-06/0.07015, allocations: 0 / 445.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.07016, allocations: 0 / 445.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.209e-05/0.07025, allocations: 27.98 kB / 445.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002199/0.07048, allocations: 261.6 kB / 445.5 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.541e-05/0.07057, allocations: 45.22 kB / 445.6 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.927e-05/0.07062, allocations: 37.64 kB / 445.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.07065, allocations: 0 / 445.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.165e-05/0.07066, allocations: 30.56 kB / 445.6 MB, free: 13.19 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.07067, allocations: 0 / 445.6 MB, free: 13.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002261/0.0709, allocations: 77.73 kB / 445.7 MB, free: 13.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.07094, allocations: 77.11 kB / 445.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.441e-05/0.07103, allocations: 142.1 kB / 445.9 MB, free: 12.86 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.07105, allocations: 29.7 kB / 446 MB, free: 12.83 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.07108, allocations: 84.14 kB / 446 MB, free: 12.74 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.175e-05/0.0711, allocations: 0 / 446 MB, free: 12.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.07111, allocations: 0 / 446 MB, free: 12.74 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.323e-05/0.07116, allocations: 326.8 kB / 446.4 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.275e-05/0.07121, allocations: 7.984 kB / 446.4 MB, free: 12.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.778e-05/0.07125, allocations: 21.7 kB / 446.4 MB, free: 12.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.695e-05/0.07134, allocations: 37.72 kB / 446.4 MB, free: 12.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.07135, allocations: 0 / 446.4 MB, free: 12.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001141/0.07147, allocations: 65.52 kB / 446.5 MB, free: 12.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.07149, allocations: 4 kB / 446.5 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.0715, allocations: 4 kB / 446.5 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.07152, allocations: 0 / 446.5 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.804e-05/0.07159, allocations: 4 kB / 446.5 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.07161, allocations: 8 kB / 446.5 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.929e-05/0.07165, allocations: 7.984 kB / 446.5 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.07166, allocations: 0 / 446.5 MB, free: 12.24 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 4.971e-05/0.07172, allocations: 121.6 kB / 446.6 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.182e-05/0.07178, allocations: 45.59 kB / 446.7 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.371e-05/0.07181, allocations: 11.83 kB / 446.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.07181, allocations: 0 / 446.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.07182, allocations: 0 / 446.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.07183, allocations: 8.031 kB / 446.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.07196, allocations: 169.6 kB / 446.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.07197, allocations: 0 / 446.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.024e-05/0.07202, allocations: 11.92 kB / 446.9 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.07204, allocations: 4 kB / 446.9 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.07205, allocations: 0 / 446.9 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.07205, allocations: 0 / 446.9 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.07206, allocations: 3.938 kB / 446.9 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.0722, allocations: 168.2 kB / 447 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.519e-05/0.07225, allocations: 89 kB / 447.1 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.07227, allocations: 0 / 447.1 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.435e-05/0.07235, allocations: 7.984 kB / 447.1 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.07238, allocations: 4 kB / 447.1 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.07239, allocations: 4 kB / 447.1 MB, free: 11.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.866e-05/0.07245, allocations: 115.3 kB / 447.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.07245, allocations: 0 / 447.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002516/0.07271, allocations: 4 kB / 447.3 MB, free: 11.38 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0002591/0.07298, allocations: 0.6975 MB / 448 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000156/0.07314, allocations: 31.92 kB / 448 MB, free: 10.62 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.07316, allocations: 0 / 448 MB, free: 10.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.27e-05/0.07321, allocations: 4 kB / 448 MB, free: 10.62 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.07357, allocations: 28.23 kB / 448 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006186/0.0742, allocations: 0.5018 MB / 448.5 MB, free: 10.03 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.823e-05/0.0743, allocations: 0.6887 MB / 449.2 MB, free: 9.316 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.359e-05/0.07434, allocations: 15.5 kB / 449.2 MB, free: 9.301 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.07434, allocations: 0 / 449.2 MB, free: 9.301 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.276/2.35, allocations: 0.9395 MB / 450.2 MB, free: 8.363 MB / 298.7 MB (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:Time,Time,sample1.y Variables in the result:periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,sample1.u,sample1.y,sine.amplitude,sine.freqHz,sine.offset,sine.phase,sine.startTime,sine.y,superSample.factor,time