Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.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.WorkInProgress.Tests.TestSuperSampleClock,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSuperSampleClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSuperSampleClock",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.001064/0.001064, allocations: 175.1 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.483/1.483, allocations: 205 MB / 221.9 MB, free: 9.141 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.0008189/0.0008187, allocations: 90.3 kB / 269.9 MB, free: 8.684 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.09149/0.09149, allocations: 12.56 MB / 330.4 MB, free: 12.09 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003936/0.0003937, allocations: 16.23 kB / 391.2 MB, free: 66.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09537/0.09578, allocations: 49.99 MB / 441.1 MB, free: 16.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock): time 0.0007282/0.09657, allocations: 230.4 kB / 441.4 MB, free: 16.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000212/0.0968, allocations: 67.77 kB / 441.4 MB, free: 16.01 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.263e-05/0.09686, allocations: 0 / 441.4 MB, free: 16.01 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.704e-05/0.09689, allocations: 0 / 441.4 MB, free: 16.01 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.094e-05/0.09692, allocations: 0 / 441.4 MB, free: 16.01 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.09712, allocations: 15.98 kB / 441.4 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.4e-05/0.09718, allocations: 0 / 441.4 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.728e-05/0.09723, allocations: 4 kB / 441.5 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.127e-05/0.09726, allocations: 7.984 kB / 441.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.411e-05/0.09731, allocations: 8 kB / 441.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.09733, allocations: 0 / 441.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.278e-06/0.09735, allocations: 0 / 441.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.09737, allocations: 3.938 kB / 441.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.219e-05/0.0974, allocations: 0 / 441.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 4.887e-05/0.09745, allocations: 7.984 kB / 441.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.09746, allocations: 0 / 441.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.09747, allocations: 0 / 441.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.09748, allocations: 0 / 441.5 MB, free: 15.96 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002451/0.09773, allocations: 315.5 kB / 441.8 MB, free: 15.6 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.09778, allocations: 20.03 kB / 441.8 MB, free: 15.58 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.721e-05/0.09782, allocations: 38.69 kB / 441.8 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.293e-05/0.09784, allocations: 0.9375 kB / 441.8 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.09799, allocations: 164.4 kB / 442 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.098, allocations: 384 / 442 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-06/0.09802, allocations: 384 / 442 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.09824, allocations: 156.9 kB / 442.2 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.09827, allocations: 83.16 kB / 442.2 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.74e-05/0.09832, allocations: 154.6 kB / 442.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/0.09835, allocations: 150.6 kB / 442.5 MB, free: 14.78 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.096e-05/0.09839, allocations: 150.6 kB / 442.7 MB, free: 14.63 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002051/0.0986, allocations: 445.9 kB / 443.1 MB, free: 14.15 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.012e-05/0.09867, allocations: 177.1 kB / 443.3 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.635e-05/0.0987, allocations: 80.19 kB / 443.4 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.09873, allocations: 79.28 kB / 443.5 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.09876, allocations: 109.8 kB / 443.6 MB, free: 13.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.332e-06/0.09877, allocations: 0 / 443.6 MB, free: 13.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 7.113e-05/0.09885, allocations: 33.58 kB / 443.6 MB, free: 13.65 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.0989, allocations: 126.7 kB / 443.7 MB, free: 13.51 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.015e-05/0.09897, allocations: 93.86 kB / 443.8 MB, free: 13.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.09899, allocations: 29.69 kB / 443.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.151e-05/0.09902, allocations: 80.14 kB / 443.9 MB, free: 13.29 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.804e-06/0.09902, allocations: 128 / 443.9 MB, free: 13.29 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.585e-05/0.09905, allocations: 17.72 kB / 443.9 MB, free: 13.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.172e-05/0.09912, allocations: 310.8 kB / 444.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.536e-06/0.09913, allocations: 0 / 444.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.846e-06/0.09914, allocations: 0 / 444.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.957e-05/0.09917, allocations: 79.28 kB / 444.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.424e-05/0.09918, allocations: 75.28 kB / 444.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.636e-05/0.09924, allocations: 25.7 kB / 444.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.09927, allocations: 91.16 kB / 444.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.09929, allocations: 79.28 kB / 444.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.885e-05/0.09934, allocations: 150.6 kB / 444.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.424e-05/0.09936, allocations: 83.2 kB / 444.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.211e-05/0.0994, allocations: 154.6 kB / 445 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.851e-05/0.09946, allocations: 87.16 kB / 445 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.09948, allocations: 79.28 kB / 445.1 MB, free: 12.06 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 9.012e-05/0.09958, allocations: 260.4 kB / 445.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.573e-05/0.09963, allocations: 108.9 kB / 445.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.09967, allocations: 115.8 kB / 445.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.582e-05/0.0997, allocations: 180.3 kB / 445.8 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.379e-05/0.09974, allocations: 184.2 kB / 445.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.498e-05/0.09978, allocations: 184.3 kB / 446.1 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.09993, allocations: 397.2 kB / 446.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.246e-05/0.09996, allocations: 108.9 kB / 446.6 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.772e-05/0.09998, allocations: 101 kB / 446.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.738e-05/0.1, allocations: 192.5 kB / 446.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.68e-05/0.1001, allocations: 180.3 kB / 447.1 MB, free: 9.953 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.242e-05/0.1001, allocations: 184.3 kB / 447.3 MB, free: 9.766 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.492e-05/0.1001, allocations: 184.1 kB / 447.4 MB, free: 9.578 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.941e-05/0.1002, allocations: 303.8 kB / 447.7 MB, free: 9.258 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.738e-05/0.1003, allocations: 182.1 kB / 447.9 MB, free: 9.055 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.1003, allocations: 188.2 kB / 448.1 MB, free: 8.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.096e-05/0.1004, allocations: 104.9 kB / 448.2 MB, free: 8.754 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.1004, allocations: 176.3 kB / 448.4 MB, free: 8.574 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.1004, allocations: 112.9 kB / 448.5 MB, free: 8.457 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.925e-05/0.1005, allocations: 75.28 kB / 448.6 MB, free: 8.383 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1005, allocations: 0 / 448.6 MB, free: 8.383 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002309/0.1007, allocations: 4.094 kB / 448.6 MB, free: 8.379 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: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0002439/0.101, allocations: 0.8009 MB / 449.4 MB, free: 7.551 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 3.419e-05/0.101, allocations: 3.938 kB / 449.4 MB, free: 7.547 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.101, allocations: 0 / 449.4 MB, free: 7.547 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.101, allocations: 4 kB / 449.4 MB, free: 7.543 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.1013, allocations: 0.5224 MB / 449.9 MB, free: 7.016 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006476/0.102, allocations: 1.518 MB / 451.4 MB, free: 5.418 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.1021, allocations: 0.6731 MB / 452.1 MB, free: 4.719 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.756e-06/0.1021, allocations: 0 / 452.1 MB, free: 4.719 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.01e-05/0.1021, allocations: 11.47 kB / 452.1 MB, free: 4.707 MB / 298.7 MB Notification: Performance of SimCode: time 2.7e-07/0.1021, allocations: 0 / 452.1 MB, free: 4.707 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0108/0.113, allocations: 0.7348 MB / 452.8 MB, free: 3.969 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001641/0.1132, allocations: 220.7 kB / 453 MB, free: 3.715 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.503/1.617, allocations: 0 / 453 MB, free: 3.715 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSuperSampleClock_fmu --startTime=0 --stopTime=5e-05 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSuperSampleClock.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe 2>&1)