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.0009436/0.0009436, allocations: 184.6 kB / 16.45 MB, free: 5.656 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.595/1.595, allocations: 205.4 MB / 222.6 MB, free: 9.117 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.000809/0.0008088, allocations: 94.23 kB / 270.9 MB, free: 8.355 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.06481/0.06481, allocations: 12.58 MB / 331.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004129/0.0004129, allocations: 16 kB / 392.7 MB, free: 66.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07463/0.07506, allocations: 50.37 MB / 443 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare): time 0.001255/0.07636, allocations: 1.235 MB / 444.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005247/0.0769, allocations: 484 kB / 444.7 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.352e-05/0.07696, allocations: 4 kB / 444.7 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.508e-05/0.07699, allocations: 3.984 kB / 444.7 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.723e-05/0.07705, allocations: 7.938 kB / 444.8 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.0773, allocations: 35.84 kB / 444.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.547e-05/0.07737, allocations: 35.86 kB / 444.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.903e-05/0.07745, allocations: 19.97 kB / 444.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.863e-05/0.07752, allocations: 11.94 kB / 444.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.857e-05/0.07757, allocations: 19.86 kB / 444.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.07759, allocations: 4 kB / 444.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.458e-06/0.07761, allocations: 4 kB / 444.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.257e-05/0.07762, allocations: 11.92 kB / 444.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.339e-05/0.07765, allocations: 29.7 kB / 444.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.287e-05/0.07771, allocations: 31.94 kB / 445 MB, free: 13.85 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.07772, allocations: 0 / 445 MB, free: 13.85 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.07773, allocations: 0 / 445 MB, free: 13.85 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.066e-06/0.07774, allocations: 0 / 445 MB, free: 13.85 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.0002922/0.07803, allocations: 351.4 kB / 445.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.07807, allocations: 12.03 kB / 445.3 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.0781, allocations: 7.906 kB / 445.3 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.07822, allocations: 182.9 kB / 445.5 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.407e-06/0.07824, allocations: 7.938 kB / 445.5 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-06/0.07825, allocations: 4 kB / 445.5 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.07848, allocations: 129.9 kB / 445.6 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.0785, allocations: 0 / 445.6 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.547e-06/0.07852, allocations: 0 / 445.6 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.07853, allocations: 4 kB / 445.6 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.179e-05/0.07861, allocations: 27.92 kB / 445.7 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002298/0.07885, allocations: 278.6 kB / 445.9 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.07901, allocations: 156.9 kB / 446.1 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.261e-05/0.07909, allocations: 42.62 kB / 446.1 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.07911, allocations: 3.984 kB / 446.1 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.083e-05/0.07913, allocations: 34.56 kB / 446.2 MB, free: 12.4 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.07914, allocations: 0 / 446.2 MB, free: 12.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002462/0.07939, allocations: 105.5 kB / 446.3 MB, free: 12.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.07944, allocations: 110.7 kB / 446.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.915e-05/0.07949, allocations: 113.8 kB / 446.5 MB, free: 12.04 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.933e-06/0.0795, allocations: 25.7 kB / 446.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.127e-05/0.07953, allocations: 84.14 kB / 446.6 MB, free: 11.92 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.233e-05/0.07955, allocations: 7.906 kB / 446.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.07956, allocations: 4.25 kB / 446.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.684e-05/0.0796, allocations: 322.8 kB / 446.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.647e-05/0.07965, allocations: 16 kB / 446.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.8e-05/0.07971, allocations: 48.22 kB / 447 MB, free: 11.51 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.226e-05/0.07977, allocations: 27.92 kB / 447 MB, free: 11.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.07977, allocations: 0 / 447 MB, free: 11.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000135/0.07991, allocations: 89.52 kB / 447.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.07993, allocations: 4.375 kB / 447.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.07994, allocations: 8.125 kB / 447.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.07996, allocations: 0 / 447.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.657e-05/0.08003, allocations: 19.92 kB / 447.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.08004, allocations: 7.938 kB / 447.1 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.551e-05/0.08009, allocations: 7.938 kB / 447.2 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.08011, allocations: 4 kB / 447.2 MB, free: 11.34 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.174e-05/0.08017, allocations: 126.4 kB / 447.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.025e-05/0.08023, allocations: 45.61 kB / 447.3 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.434e-05/0.08026, allocations: 19.83 kB / 447.3 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.08027, allocations: 4 kB / 447.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.08028, allocations: 0 / 447.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.08029, allocations: 0 / 447.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.08041, allocations: 169.6 kB / 447.5 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.08042, allocations: 0 / 447.5 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.396e-05/0.08048, allocations: 15.98 kB / 447.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.08049, allocations: 0 / 447.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.0805, allocations: 0 / 447.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.0805, allocations: 0 / 447.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.08051, allocations: 4 kB / 447.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.08066, allocations: 193.1 kB / 447.7 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.751e-05/0.08069, allocations: 81.02 kB / 447.8 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.08071, allocations: 4 kB / 447.8 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.246e-05/0.08078, allocations: 7.984 kB / 447.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.508e-05/0.08082, allocations: 4 kB / 447.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.08083, allocations: 0 / 447.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.37e-05/0.08086, allocations: 91.27 kB / 447.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.08086, allocations: 0 / 447.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002125/0.08108, allocations: 12 kB / 447.9 MB, free: 10.46 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 5.823e-05/0.08114, allocations: 91.53 kB / 448 MB, free: 10.37 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001388/0.08129, allocations: 55.91 kB / 448.1 MB, free: 10.31 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.0813, allocations: 0 / 448.1 MB, free: 10.31 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.881e-05/0.08134, allocations: 15.88 kB / 448.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.08158, allocations: 36.33 kB / 448.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002354/0.08183, allocations: 204.5 kB / 448.3 MB, free: 10.03 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.164e-05/0.08193, allocations: 0.6848 MB / 449 MB, free: 9.316 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/0.08196, allocations: 15.42 kB / 449 MB, free: 9.301 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.08197, allocations: 0 / 449 MB, free: 9.301 MB / 298.7 MB Notification: Performance of Templates: time 0.001578/0.08355, allocations: 0.7566 MB / 449.8 MB, free: 8.547 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)