Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.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.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009163/0.0009163, allocations: 175.4 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.294/1.294, allocations: 205 MB / 222.6 MB, free: 9.148 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.0007325/0.0007325, allocations: 98.23 kB / 270.5 MB, free: 8.668 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.06654/0.06654, allocations: 12.56 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003523, allocations: 8 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08116/0.08153, allocations: 49.99 MB / 441.7 MB, free: 16.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1): time 0.001634/0.08321, allocations: 1.235 MB / 442.9 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003539/0.0836, allocations: 139.5 kB / 443.1 MB, free: 15 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.2e-05/0.0837, allocations: 0 / 443.1 MB, free: 15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.879e-05/0.08377, allocations: 0 / 443.1 MB, free: 15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.08389, allocations: 7.938 kB / 443.1 MB, free: 14.99 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.08412, allocations: 27.92 kB / 443.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.13e-05/0.08421, allocations: 35.91 kB / 443.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.942e-05/0.08432, allocations: 19.92 kB / 443.2 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.609e-05/0.08435, allocations: 7.938 kB / 443.2 MB, free: 14.9 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.783e-05/0.08439, allocations: 11.94 kB / 443.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.08441, allocations: 0 / 443.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.187e-05/0.08443, allocations: 4 kB / 443.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.852e-05/0.08451, allocations: 11.92 kB / 443.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.775e-05/0.08454, allocations: 15.88 kB / 443.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.943e-05/0.08463, allocations: 39.81 kB / 443.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.08464, allocations: 3.938 kB / 443.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.08464, allocations: 4 kB / 443.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.08465, allocations: 0 / 443.3 MB, free: 14.81 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003713/0.08503, allocations: 367.5 kB / 443.6 MB, free: 14.4 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.08508, allocations: 8.031 kB / 443.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.776e-05/0.08512, allocations: 8.844 kB / 443.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.08528, allocations: 188.1 kB / 443.8 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.0853, allocations: 4.375 kB / 443.8 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/0.08531, allocations: 4.375 kB / 443.8 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.08556, allocations: 117.6 kB / 443.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.08558, allocations: 192 / 443.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.0856, allocations: 3.938 kB / 444 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.08561, allocations: 0 / 444 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.744e-05/0.08569, allocations: 31.92 kB / 444 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000246/0.08595, allocations: 261.7 kB / 444.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.08612, allocations: 142.2 kB / 444.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.125e-05/0.0862, allocations: 33.77 kB / 444.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.08622, allocations: 3.938 kB / 444.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.484e-05/0.08624, allocations: 34.56 kB / 444.4 MB, free: 13.42 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.08625, allocations: 0 / 444.4 MB, free: 13.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002212/0.08647, allocations: 81.61 kB / 444.5 MB, free: 13.33 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/0.08651, allocations: 81.11 kB / 444.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.129e-05/0.08661, allocations: 145.9 kB / 444.8 MB, free: 13.08 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.285e-06/0.08662, allocations: 25.7 kB / 444.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.068e-05/0.08666, allocations: 92.08 kB / 444.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.554e-06/0.08667, allocations: 128 / 444.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.02e-05/0.0867, allocations: 13.72 kB / 444.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.965e-05/0.08675, allocations: 322.8 kB / 445.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.85e-05/0.0868, allocations: 8 kB / 445.2 MB, free: 12.6 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.695e-05/0.08684, allocations: 35.61 kB / 445.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.216e-05/0.08692, allocations: 51.36 kB / 445.3 MB, free: 12.49 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.08693, allocations: 0 / 445.3 MB, free: 12.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001113/0.08705, allocations: 77.64 kB / 445.4 MB, free: 12.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.08707, allocations: 8 kB / 445.4 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.08708, allocations: 0 / 445.4 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.0871, allocations: 3.984 kB / 445.4 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.503e-05/0.08716, allocations: 8 kB / 445.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.08717, allocations: 4 kB / 445.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.28e-05/0.08721, allocations: 7.906 kB / 445.4 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.08722, allocations: 3.984 kB / 445.4 MB, free: 12.38 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample.y,assignClock.y,assignClock.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.992e-05/0.08729, allocations: 121.9 kB / 445.5 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.08732, allocations: 7.938 kB / 445.5 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.08735, allocations: 8.25 kB / 445.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.08736, allocations: 3.984 kB / 445.5 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.08737, allocations: 0 / 445.5 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.023e-05/0.08741, allocations: 97 kB / 445.6 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.08743, allocations: 3.938 kB / 445.6 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.937e-05/0.08749, allocations: 4 kB / 445.6 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-05/0.08753, allocations: 8 kB / 445.6 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001379/0.08768, allocations: 220.2 kB / 445.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001556/0.08784, allocations: 322 kB / 446.2 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.859e-05/0.0879, allocations: 15.98 kB / 446.2 MB, free: 11.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.226e-05/0.08795, allocations: 107.2 kB / 446.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of Backend: time 4.31e-07/0.08796, allocations: 0 / 446.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000375/0.08834, allocations: 94.34 kB / 446.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of SimCode: time 0.0004434/0.08879, allocations: 0.6139 MB / 447 MB, free: 10.66 MB / 298.7 MB Notification: Performance of Templates: time 0.002293/0.0911, allocations: 465.5 kB / 447.5 MB, free: 10.21 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1)