Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001751/0.001751, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002189/0.002189, allocations: 207.3 kB / 23.72 MB, free: 4.391 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.564/1.564, allocations: 230.5 MB / 257.4 MB, free: 7.734 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.IntegerSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 59.91 kB / 377.7 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3011, allocations: 53.41 MB / 431.1 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.00324/0.3043, allocations: 1.533 MB / 432.7 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004239/0.3047, allocations: 139.4 kB / 432.8 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.807e-05/0.3048, allocations: 4 kB / 432.8 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.111e-05/0.3049, allocations: 7.938 kB / 432.8 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.305, allocations: 7.922 kB / 432.8 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.3053, allocations: 43.91 kB / 432.9 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.3054, allocations: 31.86 kB / 432.9 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.3055, allocations: 11.98 kB / 432.9 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.096e-05/0.3055, allocations: 11.94 kB / 432.9 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.295e-05/0.3056, allocations: 11.92 kB / 432.9 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.3056, allocations: 7.984 kB / 432.9 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.218e-05/0.3056, allocations: 4 kB / 432.9 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.145e-05/0.3057, allocations: 15.92 kB / 433 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.3057, allocations: 15.88 kB / 433 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.3058, allocations: 57.38 kB / 433 MB, free: 4.539 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.3059, allocations: 0 / 433 MB, free: 4.539 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3059, allocations: 0 / 433 MB, free: 4.539 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.3059, allocations: 0 / 433 MB, free: 4.539 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.0005699/0.3064, allocations: 298 kB / 433.3 MB, free: 4.215 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3065, allocations: 15.98 kB / 433.3 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.509e-05/0.3065, allocations: 38.73 kB / 433.4 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.004e-05/0.3065, allocations: 8.891 kB / 433.4 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.3068, allocations: 130.4 kB / 433.5 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.3068, allocations: 8.312 kB / 433.5 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.3068, allocations: 4.375 kB / 433.5 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002902/0.3071, allocations: 109.6 kB / 433.6 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3071, allocations: 3.938 kB / 433.6 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.3071, allocations: 0 / 433.6 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.3071, allocations: 4 kB / 433.6 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.032e-05/0.3072, allocations: 19.98 kB / 433.7 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003638/0.3076, allocations: 236.8 kB / 433.9 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.3078, allocations: 57.14 kB / 433.9 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.532e-05/0.3079, allocations: 33.69 kB / 434 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.3079, allocations: 0 / 434 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.3079, allocations: 38.56 kB / 434 MB, free: 3.391 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.3079, allocations: 0 / 434 MB, free: 3.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002638/0.3082, allocations: 85.61 kB / 434.1 MB, free: 3.301 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/0.3082, allocations: 81.11 kB / 434.2 MB, free: 3.203 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.3084, allocations: 134.1 kB / 434.3 MB, free: 3.059 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.3084, allocations: 25.7 kB / 434.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.174e-05/0.3085, allocations: 84.14 kB / 434.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.37e-05/0.3085, allocations: 7.953 kB / 434.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.3085, allocations: 21.7 kB / 434.4 MB, free: 2.906 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.3087, allocations: 318.8 kB / 434.8 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.244e-05/0.3088, allocations: 11.98 kB / 434.8 MB, free: 2.574 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.429e-05/0.3088, allocations: 31.44 kB / 434.8 MB, free: 2.531 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.874e-05/0.3089, allocations: 47.36 kB / 434.8 MB, free: 2.473 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3089, allocations: 3.938 kB / 434.8 MB, free: 2.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001356/0.3091, allocations: 69.55 kB / 434.9 MB, free: 2.395 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.3091, allocations: 4 kB / 434.9 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3091, allocations: 128 / 434.9 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.3091, allocations: 8 kB / 434.9 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.314e-05/0.3092, allocations: 7.984 kB / 434.9 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.445e-06/0.3092, allocations: 4 kB / 434.9 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.005e-05/0.3092, allocations: 3.953 kB / 434.9 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.3092, allocations: 4 kB / 434.9 MB, free: 2.363 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.0001064/0.3093, allocations: 118.7 kB / 435.1 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.771e-05/0.3094, allocations: 49.62 kB / 435.1 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.59e-05/0.3094, allocations: 12.34 kB / 435.1 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3094, allocations: 0 / 435.1 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3094, allocations: 7.984 kB / 435.1 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3095, allocations: 4 kB / 435.1 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.3096, allocations: 140.6 kB / 435.3 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3096, allocations: 0 / 435.3 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.122e-05/0.3097, allocations: 12 kB / 435.3 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3097, allocations: 3.984 kB / 435.3 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.3097, allocations: 0 / 435.3 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3097, allocations: 4 kB / 435.3 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3097, allocations: 0 / 435.3 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.3099, allocations: 172.2 kB / 435.5 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/0.3099, allocations: 12 kB / 435.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.3099, allocations: 0 / 435.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.994e-05/0.31, allocations: 7.984 kB / 435.5 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.663e-05/0.31, allocations: 0 / 435.5 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.31, allocations: 4 kB / 435.5 MB, free: 1.742 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.233e-05/0.3101, allocations: 106.4 kB / 435.6 MB, free: 1.641 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3101, allocations: 0 / 435.6 MB, free: 1.641 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002216/0.3103, allocations: 8 kB / 435.6 MB, free: 1.633 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.0005152/0.3108, allocations: 0.7096 MB / 436.3 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.311, allocations: 31.97 kB / 436.3 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.311, allocations: 0 / 436.3 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.124e-05/0.311, allocations: 7.938 kB / 436.3 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004941/0.3115, allocations: 24 kB / 436.4 MB, free: 0.832 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/0.3137, allocations: 1.334 MB / 437.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.3138, allocations: 71.34 kB / 437.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.199e-05/0.3138, allocations: 3.984 kB / 437.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.954e-05/0.3139, allocations: 15.44 kB / 437.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3139, allocations: 0 / 437.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03104/0.3449, allocations: 2.002 MB / 439.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.98, allocations: 7.328 kB / 439.8 MB, free: 13.39 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.55716015631333]