Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.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: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008366/0.0008402, allocations: 175.8 kB / 16.45 MB, free: 5.684 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.498/1.498, allocations: 205.4 MB / 222.6 MB, free: 9.102 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.0007952/0.0007952, allocations: 94.3 kB / 270.9 MB, free: 8.344 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.07649/0.07649, allocations: 12.6 MB / 331.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004195/0.0004196, allocations: 12 kB / 392 MB, free: 66.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08879/0.08922, allocations: 50.38 MB / 442.4 MB, free: 16.46 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler): time 0.001598/0.09086, allocations: 1.455 MB / 443.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006559/0.09154, allocations: 0.5194 MB / 444.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.505e-05/0.09163, allocations: 0 / 444.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.09175, allocations: 15.86 kB / 444.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.301e-05/0.09181, allocations: 7.922 kB / 444.4 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.09212, allocations: 67.86 kB / 444.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.09226, allocations: 99.62 kB / 444.5 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.09243, allocations: 73.3 kB / 444.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.867e-05/0.09252, allocations: 39.78 kB / 444.6 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.684e-05/0.09261, allocations: 39.78 kB / 444.7 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.09263, allocations: 8 kB / 444.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.785e-05/0.09266, allocations: 4 kB / 444.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.734e-05/0.0927, allocations: 23.91 kB / 444.7 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.757e-05/0.09274, allocations: 45.64 kB / 444.8 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.598e-05/0.09285, allocations: 99.7 kB / 444.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.09286, allocations: 0 / 444.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.09286, allocations: 0 / 444.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.09287, allocations: 0 / 444.9 MB, free: 13.95 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0004922/0.09337, allocations: 427.1 kB / 445.3 MB, free: 13.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.09342, allocations: 12.03 kB / 445.3 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.09346, allocations: 15.81 kB / 445.3 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.09365, allocations: 226.6 kB / 445.5 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.09367, allocations: 8 kB / 445.5 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.0937, allocations: 12 kB / 445.5 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005247/0.09423, allocations: 348.5 kB / 445.9 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.09425, allocations: 3.938 kB / 445.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.09427, allocations: 4 kB / 445.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/0.0943, allocations: 12 kB / 445.9 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002162/0.09452, allocations: 115.8 kB / 446 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004674/0.095, allocations: 458.4 kB / 446.5 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003568/0.09537, allocations: 254.3 kB / 446.7 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.09555, allocations: 139.3 kB / 446.8 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.09557, allocations: 8.234 kB / 446.9 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.358e-05/0.09559, allocations: 30.56 kB / 446.9 MB, free: 11.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.363e-06/0.0956, allocations: 4 kB / 446.9 MB, free: 11.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005028/0.09611, allocations: 285.5 kB / 447.2 MB, free: 11.4 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.09617, allocations: 140.5 kB / 447.3 MB, free: 11.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.815e-05/0.09626, allocations: 150.2 kB / 447.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.09628, allocations: 29.7 kB / 447.5 MB, free: 11.04 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.047e-05/0.09635, allocations: 116.1 kB / 447.6 MB, free: 10.92 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.09638, allocations: 19.89 kB / 447.6 MB, free: 10.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.09639, allocations: 0 / 447.6 MB, free: 10.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.793e-05/0.09645, allocations: 326.8 kB / 447.9 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.927e-05/0.09655, allocations: 35.97 kB / 448 MB, free: 10.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.09667, allocations: 161.8 kB / 448.1 MB, free: 10.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.09679, allocations: 75.89 kB / 448.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.0968, allocations: 0 / 448.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000289/0.0971, allocations: 213 kB / 448.4 MB, free: 10.04 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.09712, allocations: 8 kB / 448.4 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.09713, allocations: 4 kB / 448.4 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.09715, allocations: 4.562 kB / 448.4 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.09728, allocations: 43.92 kB / 448.5 MB, free: 9.977 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.0973, allocations: 7.984 kB / 448.5 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.144e-05/0.09739, allocations: 23.84 kB / 448.5 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.09741, allocations: 8 kB / 448.5 MB, free: 9.938 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (18): * Single equations (assignments): 18 * 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 8.035e-05/0.0975, allocations: 150.4 kB / 448.7 MB, free: 9.781 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.0977, allocations: 161.3 kB / 448.8 MB, free: 9.617 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.112e-05/0.09774, allocations: 20.84 kB / 448.8 MB, free: 9.594 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.09777, allocations: 12.02 kB / 448.8 MB, free: 9.582 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.09777, allocations: 0 / 448.8 MB, free: 9.582 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.09778, allocations: 4 kB / 448.8 MB, free: 9.578 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.09798, allocations: 209.5 kB / 449 MB, free: 9.324 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.09799, allocations: 0 / 449 MB, free: 9.324 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.09813, allocations: 43.91 kB / 449.1 MB, free: 9.281 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.09814, allocations: 0 / 449.1 MB, free: 9.281 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.09815, allocations: 7.953 kB / 449.1 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.09816, allocations: 0 / 449.1 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.09817, allocations: 3.938 kB / 449.1 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.0985, allocations: 396.2 kB / 449.5 MB, free: 8.859 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.893e-05/0.09854, allocations: 96.95 kB / 449.6 MB, free: 8.746 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.09856, allocations: 0 / 449.6 MB, free: 8.746 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.0987, allocations: 23.88 kB / 449.6 MB, free: 8.723 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.09874, allocations: 0 / 449.6 MB, free: 8.723 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.09877, allocations: 8 kB / 449.6 MB, free: 8.715 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.197e-05/0.09882, allocations: 111.2 kB / 449.7 MB, free: 8.605 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09883, allocations: 0 / 449.7 MB, free: 8.605 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002789/0.09911, allocations: 27.91 kB / 449.8 MB, free: 8.578 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (17): * Single equations (assignments): 16 * Array equations: 1 * 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 8.152e-05/0.0992, allocations: 95.25 kB / 449.8 MB, free: 8.473 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002778/0.09949, allocations: 160.7 kB / 450 MB, free: 8.316 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.0995, allocations: 4.125 kB / 450 MB, free: 8.312 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.929e-05/0.09957, allocations: 27.92 kB / 450 MB, free: 8.285 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004762/0.1001, allocations: 99.91 kB / 450.1 MB, free: 8.188 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005134/0.1006, allocations: 432.4 kB / 450.6 MB, free: 7.727 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.1007, allocations: 0.7438 MB / 451.3 MB, free: 6.957 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.815e-05/0.1008, allocations: 15.44 kB / 451.3 MB, free: 6.945 MB / 298.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1008, allocations: 0 / 451.3 MB, free: 6.945 MB / 298.7 MB Notification: Performance of Templates: time 0.002526/0.1033, allocations: 1.74 MB / 453.1 MB, free: 5.207 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe 2>&1)