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.001386/0.001386, allocations: 172.6 kB / 16.76 MB, free: 4.938 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.382/1.382, allocations: 205 MB / 222.5 MB, free: 9.062 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.0007001/0.0007, allocations: 89.91 kB / 270.5 MB, free: 8.656 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.06683/0.06683, allocations: 12.57 MB / 331 MB, free: 12.05 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003325, allocations: 12 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06453/0.06488, allocations: 49.98 MB / 441.7 MB, free: 16.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare): time 0.001254/0.06617, allocations: 1.262 MB / 442.9 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005146/0.0667, allocations: 487.7 kB / 443.4 MB, free: 14.63 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.887e-05/0.06677, allocations: 4 kB / 443.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.694e-05/0.06681, allocations: 3.938 kB / 443.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.622e-05/0.06687, allocations: 11.92 kB / 443.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.06711, allocations: 35.97 kB / 443.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.443e-05/0.06718, allocations: 47.78 kB / 443.5 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.648e-05/0.06726, allocations: 12 kB / 443.5 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.198e-05/0.06733, allocations: 11.92 kB / 443.5 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.288e-05/0.06738, allocations: 23.86 kB / 443.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.0674, allocations: 0 / 443.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.696e-06/0.06742, allocations: 0 / 443.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.06744, allocations: 11.98 kB / 443.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.956e-05/0.06747, allocations: 15.88 kB / 443.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.468e-05/0.06753, allocations: 31.94 kB / 443.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.06754, allocations: 0 / 443.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.06755, allocations: 0 / 443.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.06756, allocations: 0 / 443.6 MB, free: 14.42 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.0002977/0.06786, allocations: 355.6 kB / 444 MB, free: 14.03 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.0679, allocations: 8.031 kB / 444 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.621e-05/0.06793, allocations: 8.844 kB / 444 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.06804, allocations: 192.2 kB / 444.2 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.06806, allocations: 384 / 444.2 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.06808, allocations: 4.375 kB / 444.2 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.0683, allocations: 134.1 kB / 444.3 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.06832, allocations: 0 / 444.3 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.06833, allocations: 4 kB / 444.3 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.06834, allocations: 7.922 kB / 444.3 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.847e-05/0.06843, allocations: 23.98 kB / 444.4 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002248/0.06866, allocations: 286.5 kB / 444.6 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.06882, allocations: 156.8 kB / 444.8 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.116e-05/0.06889, allocations: 46.69 kB / 444.8 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.06892, allocations: 0 / 444.8 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.18e-05/0.06894, allocations: 34.56 kB / 444.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.06894, allocations: 0 / 444.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002239/0.06917, allocations: 101.7 kB / 445 MB, free: 12.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.06922, allocations: 106.8 kB / 445.1 MB, free: 12.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.156e-05/0.06928, allocations: 117.8 kB / 445.2 MB, free: 12.6 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.164e-06/0.06929, allocations: 25.7 kB / 445.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.956e-05/0.06932, allocations: 88.12 kB / 445.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.541e-05/0.06934, allocations: 11.89 kB / 445.3 MB, free: 12.47 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.907e-05/0.06936, allocations: 13.72 kB / 445.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.468e-05/0.0694, allocations: 314.9 kB / 445.6 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.479e-05/0.06945, allocations: 20 kB / 445.6 MB, free: 12.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.525e-05/0.06951, allocations: 44.28 kB / 445.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.06962, allocations: 80.09 kB / 445.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.06964, allocations: 384 / 445.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001324/0.06977, allocations: 85.69 kB / 445.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.06979, allocations: 8.031 kB / 445.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.0698, allocations: 4 kB / 445.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.06982, allocations: 3.938 kB / 445.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.279e-05/0.06989, allocations: 11.94 kB / 445.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.0699, allocations: 4 kB / 445.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.355e-05/0.06995, allocations: 11.92 kB / 445.9 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.423e-06/0.06996, allocations: 4 kB / 445.9 MB, free: 11.82 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.y,$CLKPRE.ClockedRealToSquare.y2,ClockedRealToSquare.y2) * 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.021e-05/0.07002, allocations: 118.7 kB / 446 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.203e-05/0.07008, allocations: 57.59 kB / 446.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.47e-05/0.07011, allocations: 11.84 kB / 446.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.07012, allocations: 4 kB / 446.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.07013, allocations: 288 / 446.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.07014, allocations: 0 / 446.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.07026, allocations: 165.6 kB / 446.2 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.07027, allocations: 3.938 kB / 446.3 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.236e-05/0.07032, allocations: 15.97 kB / 446.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.07033, allocations: 4 kB / 446.3 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.07035, allocations: 4 kB / 446.3 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.07035, allocations: 4 kB / 446.3 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.07036, allocations: 4 kB / 446.3 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.0705, allocations: 193 kB / 446.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.714e-05/0.07053, allocations: 81.09 kB / 446.6 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.07055, allocations: 12 kB / 446.6 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.433e-05/0.07062, allocations: 0 / 446.6 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.628e-05/0.07065, allocations: 4 kB / 446.6 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.07066, allocations: 0 / 446.6 MB, free: 11.05 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.422e-05/0.07069, allocations: 91.27 kB / 446.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.07069, allocations: 0 / 446.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002142/0.07091, allocations: 8 kB / 446.7 MB, free: 10.95 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 5.695e-05/0.07098, allocations: 95.25 kB / 446.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001273/0.07111, allocations: 51.91 kB / 446.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.07112, allocations: 288 / 446.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.799e-05/0.07116, allocations: 19.92 kB / 446.8 MB, free: 10.78 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.07142, allocations: 27.91 kB / 446.9 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002417/0.07167, allocations: 212 kB / 447.1 MB, free: 10.51 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.05e-05/0.07178, allocations: 0.6809 MB / 447.7 MB, free: 9.801 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.37e-05/0.07181, allocations: 15.42 kB / 447.8 MB, free: 9.785 MB / 298.7 MB Notification: Performance of SimCode: time 2.61e-07/0.07181, allocations: 0 / 447.8 MB, free: 9.785 MB / 298.7 MB Notification: Performance of Templates: time 0.001575/0.07339, allocations: 0.7551 MB / 448.5 MB, free: 9.031 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)