Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.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.TestClockedRealToSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001267/0.001267, allocations: 172.6 kB / 16.8 MB, free: 5.012 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.541/1.541, allocations: 205.4 MB / 223 MB, free: 9.012 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.0007498/0.0007498, allocations: 93.48 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-master/package.mo): time 0.07293/0.07293, allocations: 12.58 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003518, allocations: 15.94 kB / 393.3 MB, free: 65.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07975/0.08012, allocations: 50.38 MB / 443.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare): time 0.001457/0.08163, allocations: 1.259 MB / 444.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006671/0.08232, allocations: 479.8 kB / 445.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.696e-05/0.08241, allocations: 4 kB / 445.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.319e-05/0.08244, allocations: 3.938 kB / 445.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.307e-05/0.08252, allocations: 3.938 kB / 445.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/0.08282, allocations: 35.97 kB / 445.5 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.056e-05/0.08291, allocations: 51.77 kB / 445.5 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.938e-05/0.08302, allocations: 8 kB / 445.5 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.032e-05/0.0831, allocations: 15.92 kB / 445.5 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.627e-05/0.08316, allocations: 23.86 kB / 445.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.08319, allocations: 0 / 445.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.188e-05/0.08321, allocations: 0 / 445.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.935e-05/0.08323, allocations: 7.984 kB / 445.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.225e-05/0.08328, allocations: 41.58 kB / 445.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.461e-05/0.08335, allocations: 35.94 kB / 445.6 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.08336, allocations: 0 / 445.6 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.08337, allocations: 0 / 445.6 MB, free: 13.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.08338, allocations: 0 / 445.6 MB, free: 13.46 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003486/0.08373, allocations: 351.6 kB / 446 MB, free: 13.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.08377, allocations: 8.031 kB / 446 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.77e-05/0.0838, allocations: 8.844 kB / 446 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.08393, allocations: 192.2 kB / 446.2 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.08395, allocations: 4.375 kB / 446.2 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.08397, allocations: 8.375 kB / 446.2 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.08422, allocations: 126.2 kB / 446.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.08424, allocations: 0 / 446.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.08426, allocations: 11.98 kB / 446.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.08427, allocations: 3.938 kB / 446.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.294e-05/0.08435, allocations: 31.91 kB / 446.4 MB, free: 12.63 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002627/0.08463, allocations: 282.5 kB / 446.6 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.0848, allocations: 156.8 kB / 446.8 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.345e-05/0.08488, allocations: 42.69 kB / 446.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.08491, allocations: 4 kB / 446.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.36e-05/0.08493, allocations: 34.56 kB / 446.9 MB, free: 12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.08493, allocations: 0 / 446.9 MB, free: 12 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002431/0.08518, allocations: 93.84 kB / 447 MB, free: 11.9 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.08523, allocations: 118.8 kB / 447.1 MB, free: 11.76 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.9e-05/0.0853, allocations: 113.8 kB / 447.2 MB, free: 11.64 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.817e-06/0.08532, allocations: 25.7 kB / 447.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.561e-05/0.08535, allocations: 88.12 kB / 447.3 MB, free: 11.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.08537, allocations: 7.906 kB / 447.3 MB, free: 11.51 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/0.08538, allocations: 4 kB / 447.3 MB, free: 11.51 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.656e-05/0.08543, allocations: 310.8 kB / 447.6 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.642e-05/0.08548, allocations: 24.36 kB / 447.6 MB, free: 11.17 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.607e-05/0.08553, allocations: 44.28 kB / 447.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.192e-05/0.08563, allocations: 68.16 kB / 447.8 MB, free: 11.03 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.08564, allocations: 4 kB / 447.8 MB, free: 11.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000136/0.08579, allocations: 93.48 kB / 447.9 MB, free: 10.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.08581, allocations: 8.109 kB / 447.9 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.08582, allocations: 4 kB / 447.9 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.08584, allocations: 4 kB / 447.9 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.228e-05/0.08592, allocations: 12 kB / 447.9 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.08593, allocations: 3.938 kB / 447.9 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.722e-05/0.08599, allocations: 11.92 kB / 447.9 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.08601, allocations: 4 kB / 447.9 MB, free: 10.88 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (ClockedRealToSquare.y2,$CLKPRE.ClockedRealToSquare.y2,ClockedRealToSquare.y) * Number of discrete states: 0 () * Number of clocked states: 1 (ClockedRealToSquare.y2) * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.735e-05/0.08607, allocations: 118.7 kB / 448 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.337e-05/0.08614, allocations: 53.59 kB / 448.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.074e-05/0.08618, allocations: 15.91 kB / 448.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.08619, allocations: 288 / 448.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.0862, allocations: 0 / 448.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.0862, allocations: 4 kB / 448.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.08634, allocations: 173.6 kB / 448.3 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.08635, allocations: 3.938 kB / 448.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.489e-05/0.08641, allocations: 15.92 kB / 448.3 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.08642, allocations: 0 / 448.3 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-06/0.08643, allocations: 4 kB / 448.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.08644, allocations: 0 / 448.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.08644, allocations: 4 kB / 448.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.08659, allocations: 189.1 kB / 448.5 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.173e-05/0.08662, allocations: 81.11 kB / 448.5 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.08665, allocations: 3.984 kB / 448.6 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.981e-05/0.08672, allocations: 15.94 kB / 448.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.08676, allocations: 0 / 448.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.728e-06/0.08677, allocations: 4 kB / 448.6 MB, free: 10.1 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.793e-05/0.0868, allocations: 91.27 kB / 448.7 MB, free: 10.01 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08681, allocations: 0 / 448.7 MB, free: 10.01 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000207/0.08702, allocations: 8.281 kB / 448.7 MB, free: 10 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (ClockedRealToSquare.y,ClockedRealToSquare.y2) * Number of discrete states: 0 () * Number of clocked states: 1 (ClockedRealToSquare.y2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 7.037e-05/0.08709, allocations: 91.25 kB / 448.8 MB, free: 9.906 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001417/0.08724, allocations: 51.91 kB / 448.8 MB, free: 9.855 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.08725, allocations: 3.938 kB / 448.8 MB, free: 9.852 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.974e-05/0.0873, allocations: 19.94 kB / 448.8 MB, free: 9.832 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.08757, allocations: 29.36 kB / 448.9 MB, free: 9.805 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002738/0.08785, allocations: 204.3 kB / 449.1 MB, free: 9.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.08797, allocations: 0.6888 MB / 449.7 MB, free: 8.855 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.806e-05/0.08801, allocations: 15.42 kB / 449.8 MB, free: 8.84 MB / 298.7 MB Notification: Performance of SimCode: time 3.1e-07/0.08801, allocations: 0 / 449.8 MB, free: 8.84 MB / 298.7 MB Notification: Performance of Templates: time 0.001775/0.08979, allocations: 0.7519 MB / 450.5 MB, free: 8.09 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe 2>&1)