Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_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_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_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.001123/0.001123, allocations: 169 kB / 16.76 MB, free: 4.914 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.536/1.536, allocations: 205 MB / 222.5 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.0007882/0.0007881, allocations: 78.38 kB / 270.5 MB, free: 8.691 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.08135/0.08135, allocations: 12.57 MB / 331 MB, free: 12.08 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003553, allocations: 12 kB / 391.7 MB, free: 66.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07906/0.07943, allocations: 49.98 MB / 441.7 MB, free: 16.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler): time 0.001632/0.0811, allocations: 1.506 MB / 443.2 MB, free: 14.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007577/0.08188, allocations: 0.5307 MB / 443.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.08202, allocations: 0 / 443.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.08217, allocations: 11.86 kB / 443.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.668e-05/0.08225, allocations: 15.86 kB / 443.7 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.08261, allocations: 51.94 kB / 443.8 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.08277, allocations: 119.5 kB / 443.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.08295, allocations: 81.3 kB / 444 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.08308, allocations: 39.8 kB / 444 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.931e-05/0.08317, allocations: 51.7 kB / 444.1 MB, free: 14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.08321, allocations: 4 kB / 444.1 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.616e-05/0.08323, allocations: 0 / 444.1 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.536e-05/0.08329, allocations: 31.84 kB / 444.1 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.736e-05/0.08335, allocations: 47.62 kB / 444.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.08347, allocations: 100 kB / 444.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.08348, allocations: 0 / 444.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.08348, allocations: 0 / 444.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.08349, allocations: 0 / 444.3 MB, free: 13.82 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.0005362/0.08403, allocations: 419.1 kB / 444.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.08408, allocations: 8.031 kB / 444.7 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.984e-05/0.08414, allocations: 16.75 kB / 444.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.08435, allocations: 235.8 kB / 444.9 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.08437, allocations: 8.375 kB / 444.9 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.0844, allocations: 12.38 kB / 444.9 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005141/0.08492, allocations: 359.6 kB / 445.3 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.08494, allocations: 4 kB / 445.3 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.08496, allocations: 4 kB / 445.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.195e-05/0.08499, allocations: 11.98 kB / 445.3 MB, free: 12.65 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002172/0.08521, allocations: 119.8 kB / 445.4 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004772/0.0857, allocations: 458.4 kB / 445.9 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003605/0.08607, allocations: 246.4 kB / 446.1 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.08624, allocations: 139.4 kB / 446.3 MB, free: 11.6 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.08628, allocations: 7.984 kB / 446.3 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.419e-05/0.0863, allocations: 34.56 kB / 446.3 MB, free: 11.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.683e-06/0.08631, allocations: 0 / 446.3 MB, free: 11.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005069/0.08682, allocations: 293.6 kB / 446.6 MB, free: 11.26 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.08688, allocations: 144.5 kB / 446.7 MB, free: 11.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.973e-05/0.08697, allocations: 150.5 kB / 446.9 MB, free: 10.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.08699, allocations: 37.7 kB / 446.9 MB, free: 10.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.08704, allocations: 111.9 kB / 447 MB, free: 10.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.08707, allocations: 11.91 kB / 447 MB, free: 10.76 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-05/0.0871, allocations: 21.7 kB / 447.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.656e-05/0.08715, allocations: 322.8 kB / 447.4 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.536e-05/0.08724, allocations: 39.97 kB / 447.4 MB, free: 10.37 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.08736, allocations: 157.2 kB / 447.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.08757, allocations: 215.2 kB / 447.8 MB, free: 9.895 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.08758, allocations: 0 / 447.8 MB, free: 9.895 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002885/0.08787, allocations: 213.5 kB / 448 MB, free: 9.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.0879, allocations: 8.094 kB / 448 MB, free: 9.672 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.08791, allocations: 7.938 kB / 448 MB, free: 9.664 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.08794, allocations: 8 kB / 448 MB, free: 9.656 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.08806, allocations: 39.91 kB / 448 MB, free: 9.617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.08808, allocations: 11.94 kB / 448.1 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.01e-05/0.08817, allocations: 19.84 kB / 448.1 MB, free: 9.586 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.08819, allocations: 8 kB / 448.1 MB, free: 9.578 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.512e-05/0.08828, allocations: 149.8 kB / 448.2 MB, free: 9.422 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.08848, allocations: 161.5 kB / 448.4 MB, free: 9.258 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.001e-05/0.08852, allocations: 28.77 kB / 448.4 MB, free: 9.227 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.08854, allocations: 4 kB / 448.4 MB, free: 9.223 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.08855, allocations: 0 / 448.4 MB, free: 9.223 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.08856, allocations: 0 / 448.4 MB, free: 9.223 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.08875, allocations: 205.5 kB / 448.6 MB, free: 8.973 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.08876, allocations: 3.984 kB / 448.6 MB, free: 8.969 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.08889, allocations: 39.86 kB / 448.7 MB, free: 8.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.08891, allocations: 8.031 kB / 448.7 MB, free: 8.922 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.08892, allocations: 7.938 kB / 448.7 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.08893, allocations: 4 kB / 448.7 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.08894, allocations: 3.984 kB / 448.7 MB, free: 8.906 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.08927, allocations: 396.1 kB / 449.1 MB, free: 8.496 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.66e-05/0.08931, allocations: 88.95 kB / 449.2 MB, free: 8.391 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.08933, allocations: 7.938 kB / 449.2 MB, free: 8.383 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.08946, allocations: 15.98 kB / 449.2 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.08951, allocations: 0 / 449.2 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.08954, allocations: 11.98 kB / 449.2 MB, free: 8.355 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.489e-05/0.0896, allocations: 111.3 kB / 449.3 MB, free: 8.246 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0896, allocations: 0 / 449.3 MB, free: 8.246 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002894/0.0899, allocations: 24 kB / 449.3 MB, free: 8.223 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.229e-05/0.08997, allocations: 95.23 kB / 449.4 MB, free: 8.117 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000267/0.09025, allocations: 159.9 kB / 449.6 MB, free: 7.961 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.09026, allocations: 0 / 449.6 MB, free: 7.961 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.434e-05/0.09033, allocations: 32.73 kB / 449.6 MB, free: 7.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/0.09082, allocations: 100.1 kB / 449.7 MB, free: 7.832 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005021/0.09133, allocations: 441.3 kB / 450.1 MB, free: 7.363 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.09149, allocations: 0.736 MB / 450.9 MB, free: 6.602 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.739e-05/0.09154, allocations: 19.44 kB / 450.9 MB, free: 6.586 MB / 298.7 MB Notification: Performance of SimCode: time 9.12e-07/0.09155, allocations: 0 / 450.9 MB, free: 6.586 MB / 298.7 MB Notification: Performance of Templates: time 0.002689/0.09424, allocations: 1.728 MB / 452.6 MB, free: 4.852 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe 2>&1)