Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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/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.WorkInProgress.Tests.TestSuperSampleClock,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_WorkInProgress_Tests_TestSuperSampleClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock,fileNamePrefix="Modelica_Synchronous_cpp_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.0008851/0.0008851, allocations: 175.9 kB / 16.77 MB, free: 5.023 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.126/1.126, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0006686/0.0006686, allocations: 94.34 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.05699/0.05699, allocations: 12.2 MB / 331.8 MB, free: 11.65 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003514, allocations: 16 kB / 392.2 MB, free: 66.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05923/0.05959, allocations: 50.29 MB / 442.5 MB, free: 16.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock): time 0.0004381/0.06006, allocations: 229.9 kB / 442.7 MB, free: 16.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001529/0.06023, allocations: 61.45 kB / 442.8 MB, free: 16.28 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.113e-05/0.06027, allocations: 3.938 kB / 442.8 MB, free: 16.28 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.063e-05/0.06029, allocations: 0 / 442.8 MB, free: 16.28 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 1.427e-05/0.06031, allocations: 4 kB / 442.8 MB, free: 16.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001427/0.06046, allocations: 15.98 kB / 442.8 MB, free: 16.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.131e-05/0.0605, allocations: 0 / 442.8 MB, free: 16.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.8e-05/0.06054, allocations: 3.984 kB / 442.8 MB, free: 16.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.395e-05/0.06056, allocations: 8 kB / 442.8 MB, free: 16.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.193e-05/0.0606, allocations: 7.922 kB / 442.8 MB, free: 16.24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.06062, allocations: 0 / 442.8 MB, free: 16.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.021e-06/0.06063, allocations: 0 / 442.8 MB, free: 16.24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.406e-06/0.06064, allocations: 4 kB / 442.8 MB, free: 16.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.955e-05/0.06066, allocations: 25.7 kB / 442.8 MB, free: 16.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 2.444e-05/0.06069, allocations: 0 / 442.8 MB, free: 16.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.0607, allocations: 4 kB / 442.9 MB, free: 16.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.06071, allocations: 0 / 442.9 MB, free: 16.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.035e-06/0.06072, allocations: 0 / 442.9 MB, free: 16.2 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.0001633/0.06089, allocations: 319.5 kB / 443.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.06092, allocations: 8.031 kB / 443.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.221e-05/0.06095, allocations: 38.69 kB / 443.2 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.641e-05/0.06097, allocations: 4.938 kB / 443.2 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.083e-05/0.06107, allocations: 168.3 kB / 443.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.203e-06/0.06108, allocations: 384 / 443.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.0611, allocations: 8.375 kB / 443.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.06125, allocations: 152.8 kB / 443.5 MB, free: 15.4 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.06127, allocations: 79.22 kB / 443.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.06129, allocations: 150.6 kB / 443.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.06132, allocations: 158.6 kB / 443.9 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.828e-05/0.06134, allocations: 150.6 kB / 444.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.0615, allocations: 442 kB / 444.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.492e-05/0.06154, allocations: 173.1 kB / 444.7 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.236e-05/0.06156, allocations: 84.14 kB / 444.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.06157, allocations: 75.28 kB / 444.8 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.06159, allocations: 105.8 kB / 444.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.0616, allocations: 0 / 444.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 5.412e-05/0.06166, allocations: 41.67 kB / 445 MB, free: 13.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.06169, allocations: 126.7 kB / 445.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.95e-05/0.06173, allocations: 93.86 kB / 445.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.677e-06/0.06174, allocations: 25.7 kB / 445.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.043e-05/0.06176, allocations: 80.14 kB / 445.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.173e-06/0.06177, allocations: 3.938 kB / 445.3 MB, free: 13.53 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-07/0.06177, allocations: 4 kB / 445.3 MB, free: 13.53 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.562e-05/0.06181, allocations: 314.8 kB / 445.6 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.585e-06/0.06182, allocations: 0 / 445.6 MB, free: 13.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.004e-06/0.06183, allocations: 0 / 445.6 MB, free: 13.21 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.068e-05/0.06184, allocations: 79.41 kB / 445.7 MB, free: 13.13 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.06185, allocations: 75.28 kB / 445.7 MB, free: 13.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.388e-05/0.0619, allocations: 29.7 kB / 445.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.06193, allocations: 87.2 kB / 445.9 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.06194, allocations: 79.22 kB / 445.9 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.06197, allocations: 150.6 kB / 446.1 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.004e-05/0.06198, allocations: 79.28 kB / 446.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.651e-05/0.06201, allocations: 158.5 kB / 446.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.515e-05/0.06207, allocations: 79.28 kB / 446.4 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.06208, allocations: 79.22 kB / 446.5 MB, free: 12.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.615e-05/0.06213, allocations: 268.2 kB / 446.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.06217, allocations: 104.9 kB / 446.8 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.014e-05/0.06219, allocations: 111.9 kB / 446.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/0.06221, allocations: 180.2 kB / 447.1 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.169e-05/0.06224, allocations: 184.3 kB / 447.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.031e-05/0.06227, allocations: 184.1 kB / 447.5 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.06238, allocations: 401.2 kB / 447.9 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.0624, allocations: 105 kB / 448 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.21e-05/0.06242, allocations: 116.9 kB / 448.1 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.118e-05/0.06244, allocations: 188.5 kB / 448.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.06247, allocations: 180.2 kB / 448.5 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-05/0.0625, allocations: 180.3 kB / 448.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.978e-05/0.06252, allocations: 184.2 kB / 448.8 MB, free: 9.832 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.228e-05/0.06258, allocations: 307.8 kB / 449.1 MB, free: 9.508 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.312e-05/0.06261, allocations: 182 kB / 449.3 MB, free: 9.305 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.06264, allocations: 180.2 kB / 449.5 MB, free: 9.121 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.817e-05/0.06269, allocations: 104.9 kB / 449.6 MB, free: 9.012 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.257e-05/0.06272, allocations: 184.2 kB / 449.7 MB, free: 8.824 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.06273, allocations: 105 kB / 449.8 MB, free: 8.715 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.435e-05/0.06275, allocations: 79.28 kB / 449.9 MB, free: 8.637 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.06276, allocations: 0 / 449.9 MB, free: 8.637 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002381/0.063, allocations: 0 / 449.9 MB, free: 8.637 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 (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.0001699/0.06317, allocations: 0.8048 MB / 450.7 MB, free: 7.805 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 2.708e-05/0.06321, allocations: 8 kB / 450.7 MB, free: 7.797 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.06322, allocations: 0 / 450.7 MB, free: 7.797 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.06322, allocations: 3.984 kB / 450.7 MB, free: 7.793 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.06347, allocations: 0.5185 MB / 451.3 MB, free: 7.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003273/0.0638, allocations: 0.5151 MB / 451.8 MB, free: 6.699 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.46e-05/0.06389, allocations: 0.6692 MB / 452.4 MB, free: 6.004 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.368e-05/0.06391, allocations: 7.438 kB / 452.5 MB, free: 5.996 MB / 298.7 MB Notification: Performance of SimCode: time 7.52e-07/0.06391, allocations: 0 / 452.5 MB, free: 5.996 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.167/2.231, allocations: 471.6 kB / 452.9 MB, free: 5.535 MB / 298.7 MB (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_cpp_Modelica_Synchronous_WorkInProgress_Tests_TestSuperSampleClock_fmu --startTime=0 --stopTime=5e-05 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_cpp_Modelica_Synchronous_WorkInProgress_Tests_TestSuperSampleClock.fmu > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe 2>&1)