Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001789/0.001789, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002137/0.002137, allocations: 213.6 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 230.5 MB / 257.4 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 63.91 kB / 377.7 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2957, allocations: 53.42 MB / 431.1 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003212/0.2989, allocations: 1.518 MB / 432.7 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004468/0.2993, allocations: 131.5 kB / 432.8 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.279e-05/0.2994, allocations: 7.938 kB / 432.8 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.768e-05/0.2995, allocations: 7.922 kB / 432.8 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.2996, allocations: 11.92 kB / 432.8 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.2998, allocations: 35.91 kB / 432.8 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.2999, allocations: 35.84 kB / 432.9 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.3, allocations: 11.8 kB / 432.9 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.666e-05/0.3001, allocations: 15.92 kB / 432.9 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.851e-05/0.3001, allocations: 11.94 kB / 432.9 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.3001, allocations: 8 kB / 432.9 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.364e-05/0.3001, allocations: 4 kB / 432.9 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.993e-05/0.3002, allocations: 11.92 kB / 432.9 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.234e-05/0.3002, allocations: 15.88 kB / 433 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.3003, allocations: 43.81 kB / 433 MB, free: 4.605 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3003, allocations: 0 / 433 MB, free: 4.605 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3003, allocations: 0 / 433 MB, free: 4.605 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.3003, allocations: 0 / 433 MB, free: 4.605 MB / 334.1 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.0004941/0.3008, allocations: 291.9 kB / 433.3 MB, free: 4.289 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.3009, allocations: 11.98 kB / 433.3 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.739e-05/0.301, allocations: 42.67 kB / 433.3 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.301, allocations: 20.83 kB / 433.4 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.3012, allocations: 130.5 kB / 433.5 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.3012, allocations: 384 / 433.5 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.3013, allocations: 4.375 kB / 433.5 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.3015, allocations: 113.6 kB / 433.6 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3015, allocations: 3.938 kB / 433.6 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.3015, allocations: 4 kB / 433.6 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.3016, allocations: 4 kB / 433.6 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.196e-05/0.3016, allocations: 23.86 kB / 433.6 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003183/0.3019, allocations: 232.8 kB / 433.9 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.3021, allocations: 53.09 kB / 433.9 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.131e-05/0.3022, allocations: 29.77 kB / 433.9 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.3022, allocations: 0 / 433.9 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.3022, allocations: 34.56 kB / 434 MB, free: 3.465 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.3022, allocations: 0 / 434 MB, free: 3.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002362/0.3024, allocations: 81.55 kB / 434.1 MB, free: 3.379 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/0.3025, allocations: 85.05 kB / 434.1 MB, free: 3.277 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.3026, allocations: 132.8 kB / 434.3 MB, free: 3.141 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.3027, allocations: 25.7 kB / 434.3 MB, free: 3.109 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.313e-05/0.3027, allocations: 88.14 kB / 434.4 MB, free: 3.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.046e-05/0.3027, allocations: 3.984 kB / 434.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.3028, allocations: 21.67 kB / 434.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3029, allocations: 314.8 kB / 434.7 MB, free: 2.672 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.289e-05/0.303, allocations: 7.984 kB / 434.7 MB, free: 2.664 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.015e-05/0.303, allocations: 31.56 kB / 434.8 MB, free: 2.621 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.452e-05/0.3031, allocations: 43.36 kB / 434.8 MB, free: 2.566 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.3031, allocations: 3.938 kB / 434.8 MB, free: 2.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001102/0.3032, allocations: 61.62 kB / 434.9 MB, free: 2.496 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.3032, allocations: 6.5 kB / 434.9 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3032, allocations: 8.125 kB / 434.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3033, allocations: 0 / 434.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.056e-05/0.3033, allocations: 0 / 434.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.3033, allocations: 7.938 kB / 434.9 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.856e-05/0.3033, allocations: 0 / 434.9 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.3033, allocations: 7.984 kB / 434.9 MB, free: 2.469 MB / 334.1 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 (step.y,sample1.y,assignClock.y,assignClock.u) * 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 0.000112/0.3034, allocations: 118.7 kB / 435 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.644e-05/0.3035, allocations: 53.58 kB / 435.1 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.909e-05/0.3035, allocations: 12 kB / 435.1 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3036, allocations: 0 / 435.1 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3036, allocations: 4 kB / 435.1 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3036, allocations: 0 / 435.1 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.3037, allocations: 140.7 kB / 435.2 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3037, allocations: 0 / 435.2 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.786e-06/0.3037, allocations: 3.938 kB / 435.2 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3037, allocations: 3.938 kB / 435.2 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.3038, allocations: 4 kB / 435.2 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.3038, allocations: 4 kB / 435.2 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3038, allocations: 0 / 435.2 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.304, allocations: 164.3 kB / 435.4 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.304, allocations: 19.94 kB / 435.4 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.304, allocations: 0 / 435.4 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.435e-05/0.3041, allocations: 4 kB / 435.4 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.3041, allocations: 7.984 kB / 435.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.3041, allocations: 0 / 435.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.493e-05/0.3042, allocations: 95.27 kB / 435.5 MB, free: 1.762 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3042, allocations: 4 kB / 435.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002233/0.3044, allocations: 8 kB / 435.5 MB, free: 1.75 MB / 334.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: 4 (step.y,assignClock.u,assignClock.y,sample1.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 (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.0005158/0.3049, allocations: 0.6975 MB / 436.2 MB, free: 1.023 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000127/0.3051, allocations: 27.92 kB / 436.3 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3051, allocations: 4 kB / 436.3 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.475e-05/0.3051, allocations: 4 kB / 436.3 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.3054, allocations: 20.44 kB / 436.3 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.3069, allocations: 1.302 MB / 437.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.307, allocations: 75.64 kB / 437.7 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.036e-05/0.307, allocations: 4 kB / 437.7 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.3071, allocations: 11.44 kB / 437.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3071, allocations: 0 / 437.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02839/0.3355, allocations: 2.01 MB / 439.7 MB, free: 13.56 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.06, allocations: 8 kB / 439.7 MB, free: 13.55 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.611839325167239]