Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000899/0.000899, allocations: 175.3 kB / 16.45 MB, free: 5.684 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.331/1.331, allocations: 205.4 MB / 222.6 MB, free: 9.109 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.000702/0.0007018, allocations: 93.33 kB / 270.9 MB, free: 8.34 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.0676/0.0676, allocations: 12.6 MB / 331.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003943/0.0003946, allocations: 15.98 kB / 392.7 MB, free: 66.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08982/0.09023, allocations: 50.37 MB / 443 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.001382/0.09166, allocations: 1.148 MB / 444.2 MB, free: 14.63 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002567/0.09195, allocations: 107.8 kB / 444.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.336e-05/0.09204, allocations: 0 / 444.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.655e-05/0.09207, allocations: 0 / 444.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.396e-05/0.09212, allocations: 3.938 kB / 444.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.09239, allocations: 23.91 kB / 444.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.757e-05/0.09248, allocations: 15.94 kB / 444.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.799e-05/0.09258, allocations: 11.98 kB / 444.3 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.949e-05/0.09262, allocations: 7.938 kB / 444.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.363e-05/0.09267, allocations: 11.94 kB / 444.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.09269, allocations: 0 / 444.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.044e-05/0.09271, allocations: 0 / 444.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.09273, allocations: 11.98 kB / 444.4 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.823e-05/0.09276, allocations: 29.64 kB / 444.4 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.291e-05/0.09283, allocations: 15.97 kB / 444.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.09284, allocations: 0 / 444.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.09285, allocations: 7.984 kB / 444.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.09286, allocations: 0 / 444.4 MB, free: 14.38 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003729/0.09324, allocations: 335.5 kB / 444.7 MB, free: 14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.09328, allocations: 15.91 kB / 444.8 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.09332, allocations: 7.906 kB / 444.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.09347, allocations: 171.1 kB / 444.9 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.09349, allocations: 0 / 444.9 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.09351, allocations: 7.953 kB / 444.9 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002942/0.09381, allocations: 111.3 kB / 445.1 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.09383, allocations: 3.984 kB / 445.1 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.09384, allocations: 0 / 445.1 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.09385, allocations: 0 / 445.1 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.826e-05/0.09394, allocations: 27.92 kB / 445.1 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001177/0.09406, allocations: 161.6 kB / 445.2 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.09423, allocations: 58.58 kB / 445.3 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.58e-05/0.09429, allocations: 24.89 kB / 445.3 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.09432, allocations: 3.953 kB / 445.3 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.444e-05/0.09434, allocations: 34.56 kB / 445.4 MB, free: 13.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.09435, allocations: 0 / 445.4 MB, free: 13.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002111/0.09457, allocations: 81.52 kB / 445.4 MB, free: 13.18 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.09461, allocations: 51.59 kB / 445.5 MB, free: 13.12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.872e-05/0.09469, allocations: 105.8 kB / 445.6 MB, free: 13 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.0947, allocations: 33.7 kB / 445.6 MB, free: 12.96 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.344e-05/0.09473, allocations: 80.14 kB / 445.7 MB, free: 12.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.613e-06/0.09474, allocations: 4 kB / 445.7 MB, free: 12.88 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-06/0.09475, allocations: 0 / 445.7 MB, free: 12.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.676e-05/0.0948, allocations: 318.8 kB / 446 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.636e-06/0.09482, allocations: 0 / 446 MB, free: 12.56 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.756e-05/0.09484, allocations: 31.42 kB / 446.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.823e-05/0.09486, allocations: 15.94 kB / 446.1 MB, free: 12.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.09487, allocations: 0 / 446.1 MB, free: 12.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.338e-05/0.09494, allocations: 53.88 kB / 446.1 MB, free: 12.44 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.09496, allocations: 7.953 kB / 446.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.09497, allocations: 0 / 446.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.09499, allocations: 4 kB / 446.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.818e-05/0.09505, allocations: 8.125 kB / 446.1 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.09506, allocations: 7.984 kB / 446.1 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.096e-05/0.09509, allocations: 11.91 kB / 446.2 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.09509, allocations: 0 / 446.2 MB, free: 12.4 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: 3 (assignClock1.y,assignClock1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.618e-05/0.09515, allocations: 122.4 kB / 446.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.162e-05/0.09525, allocations: 57.69 kB / 446.3 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.09529, allocations: 11.86 kB / 446.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.0953, allocations: 7.984 kB / 446.4 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.09531, allocations: 0 / 446.4 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.09531, allocations: 0 / 446.4 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.78e-05/0.09537, allocations: 157.6 kB / 446.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.09538, allocations: 0 / 446.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.53e-05/0.09543, allocations: 11.98 kB / 446.5 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.09544, allocations: 0 / 446.5 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.09545, allocations: 0 / 446.5 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.09546, allocations: 3.953 kB / 446.5 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.09546, allocations: 0 / 446.5 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.09557, allocations: 96.95 kB / 446.6 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.907e-05/0.0956, allocations: 81.11 kB / 446.7 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.09562, allocations: 4 kB / 446.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.388e-05/0.09565, allocations: 4 kB / 446.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-06/0.09566, allocations: 3.953 kB / 446.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.09566, allocations: 0 / 446.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.319e-05/0.09569, allocations: 87.27 kB / 446.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0957, allocations: 0 / 446.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000171/0.09587, allocations: 8 kB / 446.8 MB, free: 11.65 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 7.867e-05/0.09596, allocations: 91.25 kB / 446.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.408e-05/0.09606, allocations: 27.92 kB / 446.9 MB, free: 11.53 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.09607, allocations: 0 / 446.9 MB, free: 11.53 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.09607, allocations: 256 / 446.9 MB, free: 11.53 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.09628, allocations: 33.39 kB / 447 MB, free: 11.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002267/0.09652, allocations: 146.3 kB / 447.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.486e-05/0.09663, allocations: 0.6848 MB / 447.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.804e-05/0.09665, allocations: 7.438 kB / 447.8 MB, free: 10.6 MB / 298.7 MB Notification: Performance of SimCode: time 2.51e-07/0.09665, allocations: 0 / 447.8 MB, free: 10.6 MB / 298.7 MB Notification: Performance of Templates: time 0.00146/0.09812, allocations: 0.5474 MB / 448.3 MB, free: 10.05 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches