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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008633/0.0008638, allocations: 84.19 kB / 15.75 MB, free: 416 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 177 kB / 16.63 MB, free: 6.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.07/2.07, allocations: 205.4 MB / 222.8 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.102/0.102, allocations: 12.61 MB / 283.7 MB, free: 8.68 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006974/0.0006976, allocations: 24.94 kB / 344.5 MB, free: 21.27 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1282, allocations: 50.38 MB / 394.9 MB, free: 2.793 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare): time 0.002157/0.1304, allocations: 1.24 MB / 396.2 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.1316, allocations: 488 kB / 396.6 MB, free: 1.055 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.1318, allocations: 0 / 396.6 MB, free: 1.055 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.073e-05/0.1318, allocations: 0 / 396.6 MB, free: 1.055 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.482e-05/0.1319, allocations: 7.938 kB / 396.6 MB, free: 1.047 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003628/0.1323, allocations: 35.91 kB / 396.7 MB, free: 1.012 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000119/0.1324, allocations: 43.84 kB / 396.7 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1326, allocations: 15.98 kB / 396.7 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.1327, allocations: 15.92 kB / 396.7 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.796e-05/0.1328, allocations: 19.92 kB / 396.8 MB, free: 0.918 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.1328, allocations: 0 / 396.8 MB, free: 0.918 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.306e-05/0.1328, allocations: 4 kB / 396.8 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.845e-05/0.1328, allocations: 3.938 kB / 396.8 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.279e-05/0.1329, allocations: 33.7 kB / 396.8 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.029e-05/0.133, allocations: 31.94 kB / 396.8 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.133, allocations: 0 / 396.8 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.133, allocations: 0 / 396.8 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.133, allocations: 0 / 396.8 MB, free: 0.8398 MB / 286.1 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.0005605/0.1336, allocations: 355.4 kB / 397.2 MB, free: 456 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1336, allocations: 8.031 kB / 397.2 MB, free: 448 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/0.1337, allocations: 7.906 kB / 397.2 MB, free: 440 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/0.134, allocations: 178.9 kB / 397.4 MB, free: 220 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.134, allocations: 8 kB / 397.4 MB, free: 212 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.1341, allocations: 4 kB / 397.4 MB, free: 208 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/0.1344, allocations: 133.8 kB / 397.5 MB, free: 52 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1345, allocations: 7.922 kB / 397.5 MB, free: 44 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.1345, allocations: 4 kB / 397.5 MB, free: 40 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1345, allocations: 0 / 397.5 MB, free: 40 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.544e-05/0.1346, allocations: 31.92 kB / 397.6 MB, free: 8 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004339/0.1351, allocations: 274.6 kB / 397.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003182/0.1354, allocations: 164.9 kB / 398 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.759e-05/0.1355, allocations: 38.56 kB / 398 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.1355, allocations: 4 kB / 398 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.1356, allocations: 34.56 kB / 398.1 MB, free: 15.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.1356, allocations: 0 / 398.1 MB, free: 15.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003334/0.1359, allocations: 101.5 kB / 398.2 MB, free: 15.28 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001965/0.1361, allocations: 110.8 kB / 398.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.1362, allocations: 109.8 kB / 398.4 MB, free: 15.03 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.1363, allocations: 29.7 kB / 398.4 MB, free: 14.99 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.1364, allocations: 80.14 kB / 398.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.1365, allocations: 20.14 kB / 398.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.1365, allocations: 0 / 398.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1366, allocations: 318.8 kB / 398.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.586e-05/0.1367, allocations: 15.98 kB / 398.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.55e-05/0.1368, allocations: 48.28 kB / 398.9 MB, free: 14.49 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.78e-05/0.1368, allocations: 20 kB / 398.9 MB, free: 14.47 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1368, allocations: 0 / 398.9 MB, free: 14.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001789/0.137, allocations: 93.44 kB / 399 MB, free: 14.38 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.1371, allocations: 8.125 kB / 399 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.1371, allocations: 4 kB / 399 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.1371, allocations: 384 / 399 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.207e-05/0.1372, allocations: 12 kB / 399 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.1372, allocations: 7.938 kB / 399 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.453e-05/0.1373, allocations: 11.92 kB / 399 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.1373, allocations: 7.938 kB / 399 MB, free: 14.32 MB / 302.1 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 0.0001191/0.1374, allocations: 121.6 kB / 399.2 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.16e-05/0.1375, allocations: 49.59 kB / 399.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.071e-05/0.1376, allocations: 11.91 kB / 399.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.1376, allocations: 4.281 kB / 399.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.1376, allocations: 0 / 399.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1376, allocations: 3.938 kB / 399.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.1378, allocations: 169.6 kB / 399.4 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1379, allocations: 3.984 kB / 399.4 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.171e-05/0.1379, allocations: 15.92 kB / 399.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.1379, allocations: 4 kB / 399.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.138, allocations: 0 / 399.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.138, allocations: 0 / 399.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.138, allocations: 8 kB / 399.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.1383, allocations: 189.2 kB / 399.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.596e-05/0.1383, allocations: 85 kB / 399.7 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.1384, allocations: 7.938 kB / 399.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.182e-05/0.1384, allocations: 4 kB / 399.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/0.1385, allocations: 4 kB / 399.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.1385, allocations: 0 / 399.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.36e-05/0.1386, allocations: 91.27 kB / 399.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1386, allocations: 0 / 399.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.1389, allocations: 12 kB / 399.8 MB, free: 13.45 MB / 302.1 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 0.0001599/0.139, allocations: 91.25 kB / 399.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000317/0.1394, allocations: 55.91 kB / 400 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1394, allocations: 0 / 400 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.436e-05/0.1394, allocations: 15.92 kB / 400 MB, free: 13.28 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.1398, allocations: 27.92 kB / 400 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005072/0.1403, allocations: 175.2 kB / 400.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/0.1408, allocations: 0.6887 MB / 400.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.674e-05/0.1408, allocations: 3.938 kB / 400.9 MB, free: 12.33 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.111e-05/0.1409, allocations: 15.38 kB / 400.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1409, allocations: 7.938 kB / 400.9 MB, free: 12.31 MB / 302.1 MB Notification: Performance of Templates: time 0.003423/0.1443, allocations: 431.9 kB / 401.3 MB, free: 11.89 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: