Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001648/0.001647, allocations: 194.7 kB / 17.43 MB, free: 4.371 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.726/1.726, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008606/0.0008608, allocations: 99.42 kB / 299.8 MB, free: 5.348 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002469/0.0002469, allocations: 4 kB / 360.6 MB, free: 8.484 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2892, allocations: 51.42 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.001856/0.2912, allocations: 1.204 MB / 413.3 MB, free: 24.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004222/0.2916, allocations: 127.7 kB / 413.4 MB, free: 24.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.2918, allocations: 2.75 kB / 413.4 MB, free: 24.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.697e-05/0.2918, allocations: 3.938 kB / 413.4 MB, free: 24.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.292, allocations: 15.91 kB / 413.4 MB, free: 24.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.2923, allocations: 31.92 kB / 413.4 MB, free: 24.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.77e-05/0.2924, allocations: 23.92 kB / 413.5 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.2926, allocations: 11.98 kB / 413.5 MB, free: 24.49 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.118e-05/0.2926, allocations: 8.594 kB / 413.5 MB, free: 24.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.999e-05/0.2927, allocations: 20.77 kB / 413.5 MB, free: 24.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.2927, allocations: 0 / 413.5 MB, free: 24.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.308e-05/0.2927, allocations: 0 / 413.5 MB, free: 24.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.703e-05/0.2928, allocations: 6.219 kB / 413.5 MB, free: 24.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.75e-05/0.2928, allocations: 45.52 kB / 413.5 MB, free: 24.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.648e-05/0.2929, allocations: 31.88 kB / 413.6 MB, free: 24.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.293, allocations: 0 / 413.6 MB, free: 24.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.293, allocations: 0 / 413.6 MB, free: 24.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.293, allocations: 0 / 413.6 MB, free: 24.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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004186/0.2934, allocations: 353.8 kB / 413.9 MB, free: 23.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.2935, allocations: 12.69 kB / 413.9 MB, free: 23.97 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.2935, allocations: 8.844 kB / 413.9 MB, free: 23.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.2937, allocations: 192.2 kB / 414.1 MB, free: 23.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.2937, allocations: 384 / 414.1 MB, free: 23.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.2937, allocations: 384 / 414.1 MB, free: 23.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.294, allocations: 81.67 kB / 414.2 MB, free: 23.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.294, allocations: 12.11 kB / 414.2 MB, free: 23.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.294, allocations: 7.938 kB / 414.2 MB, free: 23.62 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.2941, allocations: 4 kB / 414.2 MB, free: 23.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.706e-05/0.2941, allocations: 11.98 kB / 414.2 MB, free: 23.6 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003714/0.2945, allocations: 253.8 kB / 414.5 MB, free: 23.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.336e-05/0.2946, allocations: 53.08 kB / 414.5 MB, free: 23.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.921e-05/0.2946, allocations: 17.78 kB / 414.6 MB, free: 23.21 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.2947, allocations: 0 / 414.6 MB, free: 23.21 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.2947, allocations: 30.56 kB / 414.6 MB, free: 23.17 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.2947, allocations: 4 kB / 414.6 MB, free: 23.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002323/0.2949, allocations: 61.62 kB / 414.7 MB, free: 23.1 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.295, allocations: 81.11 kB / 414.7 MB, free: 23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.2951, allocations: 141.7 kB / 414.9 MB, free: 22.85 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.2952, allocations: 25.7 kB / 414.9 MB, free: 22.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.473e-05/0.2952, allocations: 84.14 kB / 415 MB, free: 22.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.091e-05/0.2952, allocations: 7.891 kB / 415 MB, free: 22.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-06/0.2952, allocations: 0 / 415 MB, free: 22.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.174e-05/0.2953, allocations: 319 kB / 415.3 MB, free: 22.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.82e-05/0.2953, allocations: 7.984 kB / 415.3 MB, free: 22.4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.596e-05/0.2954, allocations: 17.72 kB / 415.3 MB, free: 22.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.831e-05/0.2954, allocations: 21.66 kB / 415.4 MB, free: 22.35 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2954, allocations: 8 kB / 415.4 MB, free: 22.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.667e-05/0.2955, allocations: 57.56 kB / 415.4 MB, free: 22.28 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.2956, allocations: 4 kB / 415.4 MB, free: 22.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.2956, allocations: 4 kB / 415.4 MB, free: 22.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.2956, allocations: 0 / 415.4 MB, free: 22.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.831e-05/0.2956, allocations: 4 kB / 415.4 MB, free: 22.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.2956, allocations: 3.984 kB / 415.4 MB, free: 22.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.727e-05/0.2957, allocations: 0 / 415.4 MB, free: 22.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.2957, allocations: 4.062 kB / 415.4 MB, free: 22.26 MB / 298.7 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 (sample1.u,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 6.272e-05/0.2957, allocations: 125.7 kB / 415.6 MB, free: 22.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.487e-05/0.2958, allocations: 45.53 kB / 415.6 MB, free: 22.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.877e-05/0.2958, allocations: 7.531 kB / 415.6 MB, free: 22.06 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2959, allocations: 0 / 415.6 MB, free: 22.06 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2959, allocations: 4 kB / 415.6 MB, free: 22.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.2959, allocations: 0 / 415.6 MB, free: 22.05 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.296, allocations: 169.6 kB / 415.8 MB, free: 21.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.296, allocations: 0 / 415.8 MB, free: 21.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.093e-06/0.296, allocations: 4.031 kB / 415.8 MB, free: 21.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.296, allocations: 0 / 415.8 MB, free: 21.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.296, allocations: 4 kB / 415.8 MB, free: 21.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2961, allocations: 0 / 415.8 MB, free: 21.83 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2961, allocations: 0 / 415.8 MB, free: 21.83 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.2962, allocations: 152.3 kB / 415.9 MB, free: 21.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.347e-05/0.2962, allocations: 97.03 kB / 416 MB, free: 21.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.2962, allocations: 0 / 416 MB, free: 21.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.134e-05/0.2963, allocations: 4 kB / 416 MB, free: 21.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.2963, allocations: 0 / 416 MB, free: 21.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.2964, allocations: 0 / 416 MB, free: 21.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.674e-05/0.2964, allocations: 107.2 kB / 416.1 MB, free: 21.44 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2964, allocations: 0 / 416.1 MB, free: 21.44 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002086/0.2966, allocations: 4 kB / 416.1 MB, free: 21.44 MB / 298.7 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 (sample1.u,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 9.798e-05/0.2967, allocations: 103.2 kB / 416.2 MB, free: 21.33 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001094/0.2968, allocations: 23.92 kB / 416.3 MB, free: 21.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2969, allocations: 0 / 416.3 MB, free: 21.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.971e-05/0.2969, allocations: 4 kB / 416.3 MB, free: 21.3 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.2973, allocations: 19.91 kB / 416.3 MB, free: 21.28 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.2977, allocations: 161.7 kB / 416.4 MB, free: 21.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.2979, allocations: 0.6809 MB / 417.1 MB, free: 20.39 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.375e-05/0.2979, allocations: 0 / 417.1 MB, free: 20.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/0.2979, allocations: 11.44 kB / 417.1 MB, free: 20.38 MB / 298.7 MB Notification: Performance of SimCode: time 1.843e-06/0.298, allocations: 3.938 kB / 417.1 MB, free: 20.37 MB / 298.7 MB Notification: Performance of Templates: time 0.002758/0.3007, allocations: 421.3 kB / 417.6 MB, free: 19.97 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches