Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_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.001658/0.001658, allocations: 175.9 kB / 16.77 MB, free: 5.047 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.455/1.455, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007842/0.0007843, allocations: 100.9 kB / 271.3 MB, free: 8.254 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.07793/0.07793, allocations: 12.6 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004055/0.0004056, allocations: 20 kB / 392.6 MB, free: 66.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08353/0.08395, allocations: 50.38 MB / 443 MB, free: 16.15 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare): time 0.001428/0.08543, allocations: 1.239 MB / 444.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006175/0.08607, allocations: 460.1 kB / 444.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.942e-05/0.08615, allocations: 3.938 kB / 444.7 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.008e-05/0.08618, allocations: 0 / 444.7 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.051e-05/0.08625, allocations: 11.92 kB / 444.7 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.08654, allocations: 35.91 kB / 444.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.272e-05/0.08662, allocations: 39.8 kB / 444.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.08674, allocations: 19.97 kB / 444.8 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.321e-05/0.08682, allocations: 19.86 kB / 444.8 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.679e-05/0.08689, allocations: 23.86 kB / 444.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.08691, allocations: 0 / 444.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.067e-05/0.08693, allocations: 4 kB / 444.8 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.08695, allocations: 3.984 kB / 444.8 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.902e-05/0.08699, allocations: 45.58 kB / 444.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.327e-05/0.08706, allocations: 31.94 kB / 444.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.08708, allocations: 0 / 444.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.08708, allocations: 0 / 444.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.848e-06/0.08709, allocations: 0 / 444.9 MB, free: 14.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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003873/0.08748, allocations: 347.6 kB / 445.2 MB, free: 13.81 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.08755, allocations: 8.031 kB / 445.2 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.08759, allocations: 8.844 kB / 445.2 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.08772, allocations: 188.2 kB / 445.4 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.08774, allocations: 384 / 445.4 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.08776, allocations: 4.375 kB / 445.4 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.08802, allocations: 130.2 kB / 445.6 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.08804, allocations: 4 kB / 445.6 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.08805, allocations: 0 / 445.6 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.08806, allocations: 4 kB / 445.6 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.043e-05/0.08815, allocations: 27.92 kB / 445.6 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002736/0.08843, allocations: 278.5 kB / 445.9 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.08861, allocations: 160.8 kB / 446 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.854e-05/0.08869, allocations: 46.62 kB / 446.1 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.08873, allocations: 7.984 kB / 446.1 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.325e-05/0.08875, allocations: 30.56 kB / 446.1 MB, free: 12.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.08875, allocations: 4 kB / 446.1 MB, free: 12.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002458/0.089, allocations: 97.78 kB / 446.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.08906, allocations: 106.8 kB / 446.3 MB, free: 12.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.243e-05/0.08912, allocations: 121.7 kB / 446.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.215e-06/0.08914, allocations: 25.7 kB / 446.4 MB, free: 12.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.58e-05/0.08917, allocations: 88.14 kB / 446.5 MB, free: 12.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.481e-05/0.08922, allocations: 7.891 kB / 446.5 MB, free: 12.26 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/0.08923, allocations: 0 / 446.5 MB, free: 12.26 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.812e-05/0.08929, allocations: 318.8 kB / 446.9 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.762e-05/0.08934, allocations: 20.05 kB / 446.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.003e-05/0.0894, allocations: 48.22 kB / 446.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.552e-05/0.0895, allocations: 72.16 kB / 447 MB, free: 11.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.08951, allocations: 0 / 447 MB, free: 11.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001357/0.08965, allocations: 89.73 kB / 447.1 MB, free: 11.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.08967, allocations: 8.125 kB / 447.1 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.08968, allocations: 0 / 447.1 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.0897, allocations: 8.031 kB / 447.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.092e-05/0.08978, allocations: 11.98 kB / 447.1 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.0898, allocations: 7.938 kB / 447.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.415e-05/0.08985, allocations: 11.94 kB / 447.1 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.08986, allocations: 0 / 447.1 MB, free: 11.63 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.953e-05/0.08992, allocations: 125.5 kB / 447.2 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.994e-05/0.08999, allocations: 53.61 kB / 447.3 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.524e-05/0.09003, allocations: 11.89 kB / 447.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.09004, allocations: 0 / 447.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.09005, allocations: 4 kB / 447.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.09006, allocations: 0 / 447.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.0902, allocations: 169.6 kB / 447.5 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.09021, allocations: 0 / 447.5 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.491e-05/0.09027, allocations: 15.92 kB / 447.5 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.09028, allocations: 0 / 447.5 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.0903, allocations: 4 kB / 447.5 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.0903, allocations: 4.375 kB / 447.5 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.09031, allocations: 0 / 447.5 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.09048, allocations: 189.1 kB / 447.7 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.351e-05/0.09051, allocations: 81.11 kB / 447.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.09053, allocations: 7.938 kB / 447.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.57e-05/0.0906, allocations: 7.984 kB / 447.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.09065, allocations: 7.938 kB / 447.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.09066, allocations: 4 kB / 447.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.918e-05/0.0907, allocations: 87.27 kB / 447.9 MB, free: 10.76 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.0907, allocations: 0 / 447.9 MB, free: 10.76 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002142/0.09092, allocations: 12 kB / 447.9 MB, free: 10.75 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 (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.335e-05/0.09101, allocations: 91.25 kB / 448 MB, free: 10.65 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001511/0.09117, allocations: 51.91 kB / 448 MB, free: 10.6 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.09118, allocations: 0 / 448 MB, free: 10.6 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.061e-05/0.09123, allocations: 15.94 kB / 448 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.09151, allocations: 31.86 kB / 448.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002779/0.0918, allocations: 204.3 kB / 448.3 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.09192, allocations: 0.6858 MB / 449 MB, free: 9.609 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.09196, allocations: 11.44 kB / 449 MB, free: 9.598 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.09196, allocations: 0 / 449 MB, free: 9.598 MB / 298.7 MB Notification: Performance of Templates: time 0.001875/0.09384, allocations: 0.762 MB / 449.7 MB, free: 8.836 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe 2>&1)