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.001581/0.001581, allocations: 177.6 kB / 8.048 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.3 MB / 213.8 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007969/0.0007969, allocations: 98.25 kB / 261.8 MB, free: 1.676 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.06365/0.06365, allocations: 12.6 MB / 322.3 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.191e-05/1.193e-05, allocations: 0 / 378.9 MB, free: 6.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2257, allocations: 50.38 MB / 429.3 MB, free: 18.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09349/0.3193, allocations: 77.46 MB / 0.4949 GB, free: 4.781 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001678/0.3195, allocations: 59.97 kB / 0.4949 GB, free: 4.723 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002911/0.3224, allocations: 1.142 MB / 0.4961 GB, free: 3.582 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3224, allocations: 0 / 0.4961 GB, free: 3.582 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.3224, allocations: 4 kB / 0.4961 GB, free: 3.578 MB / 346.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.0003652/0.3228, allocations: 342.4 kB / 0.4964 GB, free: 3.199 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.3229, allocations: 12.02 kB / 0.4964 GB, free: 3.188 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.357e-05/0.3229, allocations: 7.906 kB / 0.4964 GB, free: 3.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.3231, allocations: 179 kB / 0.4966 GB, free: 2.965 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.3231, allocations: 7.953 kB / 0.4966 GB, free: 2.957 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.3231, allocations: 4 kB / 0.4966 GB, free: 2.953 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.417e-05/0.3232, allocations: 12 kB / 0.4966 GB, free: 2.941 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.3234, allocations: 117.8 kB / 0.4967 GB, free: 2.805 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.3234, allocations: 0 / 0.4967 GB, free: 2.805 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.3235, allocations: 0 / 0.4967 GB, free: 2.805 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.3235, allocations: 4 kB / 0.4967 GB, free: 2.801 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004176/0.3239, allocations: 338.3 kB / 0.497 GB, free: 2.426 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.3241, allocations: 148.9 kB / 0.4972 GB, free: 2.234 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.703e-05/0.3242, allocations: 34.72 kB / 0.4972 GB, free: 2.191 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.3242, allocations: 4 kB / 0.4972 GB, free: 2.188 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.3242, allocations: 34.56 kB / 0.4973 GB, free: 2.145 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.254e-06/0.3242, allocations: 3.984 kB / 0.4973 GB, free: 2.141 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001642/0.3244, allocations: 57.62 kB / 0.4973 GB, free: 2.078 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.689e-05/0.3245, allocations: 110.9 kB / 0.4974 GB, free: 1.945 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.546e-05/0.3245, allocations: 105 kB / 0.4975 GB, free: 1.836 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.3246, allocations: 25.7 kB / 0.4975 GB, free: 1.805 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.245e-05/0.3246, allocations: 80.14 kB / 0.4976 GB, free: 1.723 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.3246, allocations: 11.91 kB / 0.4976 GB, free: 1.711 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.3246, allocations: 0 / 0.4976 GB, free: 1.711 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.743e-05/0.3247, allocations: 322.8 kB / 0.4979 GB, free: 1.387 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.747e-05/0.3247, allocations: 7.938 kB / 0.4979 GB, free: 1.379 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.14e-05/0.3248, allocations: 40.3 kB / 0.498 GB, free: 1.324 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.818e-05/0.3248, allocations: 15.98 kB / 0.498 GB, free: 1.309 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.3248, allocations: 0 / 0.498 GB, free: 1.309 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.083e-05/0.3249, allocations: 73.61 kB / 0.4981 GB, free: 1.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.3249, allocations: 12 kB / 0.4981 GB, free: 1.219 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.325, allocations: 0 / 0.4981 GB, free: 1.219 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.325, allocations: 0 / 0.4981 GB, free: 1.219 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.283e-05/0.325, allocations: 19.92 kB / 0.4981 GB, free: 1.199 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.3251, allocations: 0 / 0.4981 GB, free: 1.199 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.296e-05/0.3251, allocations: 4 kB / 0.4981 GB, free: 1.195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.3251, allocations: 4.375 kB / 0.4981 GB, free: 1.191 MB / 346.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 () * 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 6.13e-05/0.3252, allocations: 108.9 kB / 0.4982 GB, free: 1.078 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.786e-05/0.3253, allocations: 57.5 kB / 0.4983 GB, free: 1.016 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.301e-05/0.3253, allocations: 16.33 kB / 0.4983 GB, free: 0.9922 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3253, allocations: 0 / 0.4983 GB, free: 0.9922 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.3253, allocations: 0 / 0.4983 GB, free: 0.9922 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3253, allocations: 0 / 0.4983 GB, free: 0.9922 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.3255, allocations: 146.2 kB / 0.4984 GB, free: 0.8125 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3255, allocations: 0 / 0.4984 GB, free: 0.8125 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.344e-05/0.3256, allocations: 8 kB / 0.4984 GB, free: 0.8047 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3256, allocations: 4 kB / 0.4984 GB, free: 0.8008 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.3256, allocations: 7.938 kB / 0.4984 GB, free: 0.793 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3256, allocations: 4 kB / 0.4984 GB, free: 0.7891 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3256, allocations: 4 kB / 0.4984 GB, free: 0.7852 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.3258, allocations: 263 kB / 0.4987 GB, free: 0.4961 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.721e-05/0.3259, allocations: 85.02 kB / 0.4988 GB, free: 404 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.3259, allocations: 8.062 kB / 0.4988 GB, free: 396 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.457e-05/0.326, allocations: 7.984 kB / 0.4988 GB, free: 388 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.326, allocations: 0 / 0.4988 GB, free: 388 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.326, allocations: 4 kB / 0.4988 GB, free: 384 kB / 346.7 MB Notification: Performance of sorting global known variables: time 4.369e-05/0.3261, allocations: 83.28 kB / 0.4989 GB, free: 300 kB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3261, allocations: 0 / 0.4989 GB, free: 300 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002412/0.3263, allocations: 8 kB / 0.4989 GB, free: 292 kB / 346.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 () * 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 9.608e-05/0.3264, allocations: 95.23 kB / 0.499 GB, free: 188 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.19e-05/0.3265, allocations: 39.88 kB / 0.499 GB, free: 148 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3266, allocations: 0 / 0.499 GB, free: 148 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.7e-05/0.3266, allocations: 4 kB / 0.499 GB, free: 144 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.3268, allocations: 31.23 kB / 0.499 GB, free: 116 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002243/0.327, allocations: 89.77 kB / 0.4991 GB, free: 15.99 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.3273, allocations: 0.6966 MB / 0.4998 GB, free: 15.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.611e-05/0.3273, allocations: 4.656 kB / 0.4998 GB, free: 15.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.566e-05/0.3273, allocations: 11.44 kB / 0.4998 GB, free: 15.25 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3273, allocations: 0 / 0.4998 GB, free: 15.25 MB / 362.7 MB Notification: Performance of Templates: time 0.001931/0.3293, allocations: 408.9 kB / 0.5002 GB, free: 14.86 MB / 362.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)