Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 107.9 kB / 17.06 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001317, allocations: 189.4 kB / 18 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 51.92 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2621, allocations: 49.43 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002821/0.265, allocations: 1.5 MB / 401.7 MB, free: 7.258 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003971/0.2654, allocations: 138.6 kB / 401.9 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.756e-05/0.2655, allocations: 5 kB / 401.9 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.296e-05/0.2655, allocations: 1.125 kB / 401.9 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.2657, allocations: 9.062 kB / 401.9 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.2659, allocations: 46.02 kB / 401.9 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.075e-05/0.266, allocations: 29.05 kB / 402 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.641e-05/0.2661, allocations: 8 kB / 402 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.623e-05/0.2662, allocations: 15.92 kB / 402 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.415e-05/0.2662, allocations: 11.88 kB / 402 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.2662, allocations: 0 / 402 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.225e-05/0.2662, allocations: 4 kB / 402 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.872e-05/0.2663, allocations: 11.98 kB / 402 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.811e-05/0.2663, allocations: 31.8 kB / 402 MB, free: 7 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.2665, allocations: 34.78 kB / 402.1 MB, free: 6.969 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2665, allocations: 0 / 402.1 MB, free: 6.969 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2665, allocations: 4 kB / 402.1 MB, free: 6.965 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.2665, allocations: 0 / 402.1 MB, free: 6.965 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004787/0.267, allocations: 359.2 kB / 402.4 MB, free: 6.562 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.267, allocations: 12.03 kB / 402.4 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.977e-05/0.2671, allocations: 34.73 kB / 402.5 MB, free: 6.508 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.2671, allocations: 8.891 kB / 402.5 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.2673, allocations: 204.1 kB / 402.7 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.2673, allocations: 384 / 402.7 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-06/0.2674, allocations: 4.375 kB / 402.7 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.2676, allocations: 89.61 kB / 402.8 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.2676, allocations: 3.938 kB / 402.8 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.2676, allocations: 4 kB / 402.8 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.2676, allocations: 0 / 402.8 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.435e-05/0.2677, allocations: 19.98 kB / 402.8 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.2681, allocations: 249.8 kB / 403 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.812e-05/0.2682, allocations: 53.09 kB / 403.1 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.017e-05/0.2682, allocations: 17.77 kB / 403.1 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.2683, allocations: 4 kB / 403.1 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.2683, allocations: 34.5 kB / 403.1 MB, free: 5.688 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2683, allocations: 0 / 403.1 MB, free: 5.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002386/0.2685, allocations: 69.84 kB / 403.2 MB, free: 5.613 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.574e-05/0.2686, allocations: 81.05 kB / 403.3 MB, free: 5.516 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.2688, allocations: 138 kB / 403.4 MB, free: 5.367 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.2688, allocations: 25.7 kB / 403.5 MB, free: 5.336 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.622e-05/0.2688, allocations: 84.12 kB / 403.5 MB, free: 5.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.253e-05/0.2689, allocations: 7.953 kB / 403.5 MB, free: 5.242 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.2689, allocations: 13.72 kB / 403.6 MB, free: 5.223 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.269, allocations: 318.9 kB / 403.9 MB, free: 4.902 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.856e-05/0.2691, allocations: 11.98 kB / 403.9 MB, free: 4.891 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.733e-05/0.2691, allocations: 13.72 kB / 403.9 MB, free: 4.871 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.692e-05/0.2692, allocations: 29.7 kB / 403.9 MB, free: 4.836 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.2692, allocations: 7.875 kB / 403.9 MB, free: 4.828 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001138/0.2693, allocations: 49.75 kB / 404 MB, free: 4.773 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2694, allocations: 8 kB / 404 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.2694, allocations: 0 / 404 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.2694, allocations: 0 / 404 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.64e-05/0.2694, allocations: 11.98 kB / 404 MB, free: 4.754 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.2695, allocations: 0 / 404 MB, free: 4.754 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.136e-05/0.2695, allocations: 4 kB / 404 MB, free: 4.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.2695, allocations: 3.938 kB / 404 MB, free: 4.746 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.43e-05/0.2696, allocations: 121.8 kB / 404.1 MB, free: 4.617 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.677e-05/0.2697, allocations: 41.66 kB / 404.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.899e-05/0.2697, allocations: 7.875 kB / 404.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2697, allocations: 0 / 404.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2697, allocations: 0 / 404.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2697, allocations: 0 / 404.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.2699, allocations: 173.5 kB / 404.3 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.2699, allocations: 4 kB / 404.3 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.686e-05/0.27, allocations: 7.938 kB / 404.4 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.27, allocations: 0 / 404.4 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.27, allocations: 8.016 kB / 404.4 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.27, allocations: 0 / 404.4 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.27, allocations: 4 kB / 404.4 MB, free: 4.316 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.2702, allocations: 164.2 kB / 404.5 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.386e-05/0.2703, allocations: 89.05 kB / 404.6 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.2703, allocations: 3.984 kB / 404.6 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.985e-05/0.2704, allocations: 8.031 kB / 404.6 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.43e-05/0.2704, allocations: 0 / 404.6 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.2704, allocations: 3.984 kB / 404.6 MB, free: 4.016 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.142e-05/0.2705, allocations: 106.5 kB / 404.7 MB, free: 3.914 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2705, allocations: 0 / 404.7 MB, free: 3.914 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002213/0.2707, allocations: 4 kB / 404.7 MB, free: 3.91 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 0.0005626/0.2713, allocations: 0.7013 MB / 405.4 MB, free: 3.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001425/0.2715, allocations: 23.98 kB / 405.5 MB, free: 3.156 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2715, allocations: 0 / 405.5 MB, free: 3.156 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.135e-05/0.2715, allocations: 7.938 kB / 405.5 MB, free: 3.148 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.2718, allocations: 21.92 kB / 405.5 MB, free: 3.129 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.2732, allocations: 1.252 MB / 406.7 MB, free: 1.785 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.2735, allocations: 0.6883 MB / 407.4 MB, free: 1.07 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.472e-05/0.2736, allocations: 11.97 kB / 407.4 MB, free: 1.059 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.676e-05/0.2736, allocations: 11.44 kB / 407.5 MB, free: 1.047 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2736, allocations: 0 / 407.5 MB, free: 1.047 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.2953, allocations: 1.383 MB / 408.8 MB, free: 15.8 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.021/8.316, allocations: 8.188 kB / 408.8 MB, free: 15.8 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches