Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 115.6 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00242/0.00242, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002331/0.002331, allocations: 47.92 kB / 377.8 MB, free: 3.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2832, allocations: 53.36 MB / 431.1 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.00285/0.286, allocations: 1.518 MB / 432.7 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003759/0.2864, allocations: 139.5 kB / 432.8 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.032e-05/0.2864, allocations: 7.938 kB / 432.8 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.865e-05/0.2865, allocations: 3.938 kB / 432.8 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.2866, allocations: 3.938 kB / 432.8 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.2868, allocations: 39.89 kB / 432.8 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.702e-05/0.2869, allocations: 23.92 kB / 432.9 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.586e-05/0.287, allocations: 11.98 kB / 432.9 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.294e-05/0.287, allocations: 19.92 kB / 432.9 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.941e-05/0.2871, allocations: 7.938 kB / 432.9 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.2871, allocations: 4 kB / 432.9 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.875e-06/0.2871, allocations: 3.938 kB / 432.9 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.379e-05/0.2871, allocations: 11.98 kB / 432.9 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.249e-05/0.2872, allocations: 19.81 kB / 432.9 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.2873, allocations: 43.62 kB / 433 MB, free: 5.016 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.2873, allocations: 0 / 433 MB, free: 5.016 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2873, allocations: 0 / 433 MB, free: 5.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.2873, allocations: 0 / 433 MB, free: 5.016 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004257/0.2877, allocations: 290.6 kB / 433.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.2877, allocations: 8.031 kB / 433.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.003e-05/0.2878, allocations: 34.75 kB / 433.3 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.471e-05/0.2878, allocations: 8.875 kB / 433.3 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.288, allocations: 132.5 kB / 433.4 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.288, allocations: 384 / 433.4 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.2881, allocations: 4.375 kB / 433.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.2883, allocations: 89.61 kB / 433.5 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.2883, allocations: 7.938 kB / 433.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.2883, allocations: 0 / 433.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.2883, allocations: 0 / 433.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.378e-05/0.2883, allocations: 12 kB / 433.6 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000315/0.2887, allocations: 236.8 kB / 433.8 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.147e-05/0.2887, allocations: 41.16 kB / 433.8 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.517e-05/0.2888, allocations: 13.78 kB / 433.8 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.2888, allocations: 3.938 kB / 433.8 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.2888, allocations: 30.56 kB / 433.9 MB, free: 3.965 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.2888, allocations: 4 kB / 433.9 MB, free: 3.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002011/0.289, allocations: 65.56 kB / 433.9 MB, free: 3.891 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.2891, allocations: 81.11 kB / 434 MB, free: 3.793 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.2892, allocations: 125.8 kB / 434.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.2892, allocations: 29.7 kB / 434.2 MB, free: 3.625 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.236e-05/0.2893, allocations: 84.08 kB / 434.3 MB, free: 3.539 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.023e-05/0.2893, allocations: 8.203 kB / 434.3 MB, free: 3.531 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.2893, allocations: 21.72 kB / 434.3 MB, free: 3.504 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.2894, allocations: 318.8 kB / 434.6 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.933e-05/0.2895, allocations: 4 kB / 434.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.041e-05/0.2895, allocations: 17.72 kB / 434.6 MB, free: 3.156 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.746e-05/0.2896, allocations: 29.7 kB / 434.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.2896, allocations: 7.938 kB / 434.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.951e-05/0.2897, allocations: 45.69 kB / 434.7 MB, free: 3.062 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2897, allocations: 4 kB / 434.7 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2897, allocations: 3.938 kB / 434.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.2897, allocations: 0 / 434.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.425e-05/0.2897, allocations: 4 kB / 434.7 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2897, allocations: 0 / 434.7 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.296e-05/0.2897, allocations: 0 / 434.7 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.2897, allocations: 8.062 kB / 434.7 MB, free: 3.043 MB / 334.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 (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 9.32e-05/0.2898, allocations: 121.8 kB / 434.8 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.016e-05/0.2899, allocations: 37.66 kB / 434.9 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.744e-05/0.2899, allocations: 11.42 kB / 434.9 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.2899, allocations: 3.984 kB / 434.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2899, allocations: 0 / 434.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2899, allocations: 4 kB / 434.9 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.2901, allocations: 144.7 kB / 435 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2901, allocations: 0 / 435 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.963e-06/0.2901, allocations: 7.969 kB / 435 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.2901, allocations: 0 / 435 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.2901, allocations: 0 / 435 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2901, allocations: 4 kB / 435 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2901, allocations: 0 / 435 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.2903, allocations: 148.3 kB / 435.2 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.49e-05/0.2903, allocations: 23.97 kB / 435.2 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.2903, allocations: 0 / 435.2 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.19e-05/0.2904, allocations: 0 / 435.2 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.2904, allocations: 7.984 kB / 435.2 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.2904, allocations: 0 / 435.2 MB, free: 2.457 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.574e-05/0.2905, allocations: 105.9 kB / 435.3 MB, free: 2.355 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2905, allocations: 7.938 kB / 435.3 MB, free: 2.348 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002173/0.2907, allocations: 0 / 435.3 MB, free: 2.348 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: 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 0.0004857/0.2912, allocations: 0.6859 MB / 436 MB, free: 1.633 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001167/0.2913, allocations: 15.92 kB / 436 MB, free: 1.617 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2913, allocations: 4 kB / 436 MB, free: 1.613 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.482e-05/0.2913, allocations: 4.156 kB / 436 MB, free: 1.609 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.2916, allocations: 20.02 kB / 436.1 MB, free: 1.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.2928, allocations: 1.252 MB / 437.3 MB, free: 252 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.2932, allocations: 0.6807 MB / 438 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.779e-05/0.2932, allocations: 4.031 kB / 438 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.095e-05/0.2932, allocations: 19.42 kB / 438 MB, free: 15.52 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2932, allocations: 0 / 438 MB, free: 15.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.3216, allocations: 1.476 MB / 439.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.29, allocations: 10.23 kB / 439.5 MB, free: 14.17 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.742531608091667]