Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.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.001363/0.001363, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.001603/0.001603, allocations: 206.4 kB / 23.73 MB, free: 4.414 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.476/1.476, allocations: 230.5 MB / 257.4 MB, free: 7.758 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.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 67.83 kB / 377.7 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.3003, allocations: 53.41 MB / 431.1 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.00239/0.3027, allocations: 0.8777 MB / 432 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003736/0.3031, allocations: 115.6 kB / 432.1 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.338e-05/0.3032, allocations: 3.938 kB / 432.1 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.163e-05/0.3032, allocations: 3.938 kB / 432.1 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.3033, allocations: 11.92 kB / 432.1 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.3036, allocations: 31.91 kB / 432.2 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.3037, allocations: 43.86 kB / 432.2 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.3038, allocations: 23.77 kB / 432.2 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.984e-05/0.3038, allocations: 15.92 kB / 432.3 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.461e-05/0.3039, allocations: 15.92 kB / 432.3 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.3039, allocations: 8 kB / 432.3 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.289e-05/0.3039, allocations: 4 kB / 432.3 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.079e-05/0.304, allocations: 11.94 kB / 432.3 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.057e-05/0.304, allocations: 19.86 kB / 432.3 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.3041, allocations: 53.56 kB / 432.4 MB, free: 5.254 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3041, allocations: 0 / 432.4 MB, free: 5.254 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3042, allocations: 0 / 432.4 MB, free: 5.254 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.3042, allocations: 4 kB / 432.4 MB, free: 5.25 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004267/0.3046, allocations: 290.1 kB / 432.7 MB, free: 4.934 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.3046, allocations: 15.98 kB / 432.7 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.802e-05/0.3047, allocations: 42.69 kB / 432.7 MB, free: 4.867 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.993e-05/0.3047, allocations: 8.891 kB / 432.7 MB, free: 4.859 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.3049, allocations: 142.3 kB / 432.9 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.305, allocations: 4.375 kB / 432.9 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.305, allocations: 384 / 432.9 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/0.3052, allocations: 131.8 kB / 433 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.3053, allocations: 7.938 kB / 433 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.3053, allocations: 4 kB / 433 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3053, allocations: 0 / 433 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.594e-05/0.3053, allocations: 23.97 kB / 433 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.3055, allocations: 132.8 kB / 433.2 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.3056, allocations: 62.66 kB / 433.2 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.921e-05/0.3057, allocations: 36.89 kB / 433.3 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.3057, allocations: 4 kB / 433.3 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.3057, allocations: 30.56 kB / 433.3 MB, free: 4.191 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.031e-06/0.3057, allocations: 0 / 433.3 MB, free: 4.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.000218/0.3059, allocations: 93.58 kB / 433.4 MB, free: 4.094 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.306, allocations: 55.39 kB / 433.4 MB, free: 4.027 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.3061, allocations: 136.8 kB / 433.6 MB, free: 3.887 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.3061, allocations: 33.64 kB / 433.6 MB, free: 3.848 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.556e-05/0.3062, allocations: 84.08 kB / 433.7 MB, free: 3.762 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.3062, allocations: 7.953 kB / 433.7 MB, free: 3.754 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.3063, allocations: 33.64 kB / 433.7 MB, free: 3.715 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3064, allocations: 318.8 kB / 434 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.023e-05/0.3064, allocations: 7.984 kB / 434 MB, free: 3.387 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.078e-05/0.3065, allocations: 58.88 kB / 434.1 MB, free: 3.305 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.391e-05/0.3066, allocations: 78.73 kB / 434.2 MB, free: 3.203 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3066, allocations: 0 / 434.2 MB, free: 3.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001276/0.3067, allocations: 89.61 kB / 434.3 MB, free: 3.109 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.3067, allocations: 11.94 kB / 434.3 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3067, allocations: 0 / 434.3 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.3067, allocations: 4 kB / 434.3 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.022e-05/0.3068, allocations: 7.984 kB / 434.3 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3068, allocations: 4 kB / 434.3 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.603e-05/0.3068, allocations: 7.938 kB / 434.3 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.3068, allocations: 4 kB / 434.3 MB, free: 3.07 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.000101/0.3069, allocations: 121.8 kB / 434.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.477e-05/0.307, allocations: 81.97 kB / 434.5 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.41e-05/0.307, allocations: 8.375 kB / 434.5 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.307, allocations: 4 kB / 434.5 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.307, allocations: 0 / 434.5 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3071, allocations: 3.984 kB / 434.5 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.3072, allocations: 132.8 kB / 434.6 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3072, allocations: 0 / 434.6 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.334e-05/0.3072, allocations: 4 kB / 434.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3072, allocations: 7.875 kB / 434.7 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.3072, allocations: 0 / 434.7 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3072, allocations: 0 / 434.7 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3072, allocations: 4 kB / 434.7 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.3073, allocations: 105.1 kB / 434.8 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/0.3074, allocations: 19.94 kB / 434.8 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.3074, allocations: 7.922 kB / 434.8 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.527e-05/0.3074, allocations: 0 / 434.8 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-06/0.3074, allocations: 4 kB / 434.8 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.3074, allocations: 4 kB / 434.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.899e-05/0.3075, allocations: 103.2 kB / 434.9 MB, free: 2.391 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3075, allocations: 0 / 434.9 MB, free: 2.391 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000222/0.3077, allocations: 12 kB / 434.9 MB, free: 2.379 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,xor.u1,xor.u2,xor.y,integerConstant.y) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0005076/0.3082, allocations: 0.6767 MB / 435.6 MB, free: 1.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001159/0.3083, allocations: 39.92 kB / 435.6 MB, free: 1.641 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.3083, allocations: 4 kB / 435.6 MB, free: 1.637 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.81e-07/0.3083, allocations: 0 / 435.6 MB, free: 1.637 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.3086, allocations: 49.61 kB / 435.7 MB, free: 1.594 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.3098, allocations: 1.317 MB / 437 MB, free: 152 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.591e-05/0.3099, allocations: 79.97 kB / 437.1 MB, free: 52 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.987e-05/0.3099, allocations: 7.953 kB / 437.1 MB, free: 44 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.577e-05/0.31, allocations: 15.44 kB / 437.1 MB, free: 28 kB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.31, allocations: 4 kB / 437.1 MB, free: 24 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03032/0.3403, allocations: 2.248 MB / 439.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.94, allocations: 12.05 kB / 439.4 MB, free: 13.88 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.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.42319025285542]