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.001753/0.001753, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.002018/0.002018, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.454/1.454, allocations: 230.2 MB / 254.5 MB, free: 15.22 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.001827/0.001827, allocations: 63.91 kB / 373.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1173, allocations: 53.32 MB / 426.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.00247/0.1198, allocations: 0.861 MB / 427.5 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004015/0.1202, allocations: 111.7 kB / 427.6 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.273e-05/0.1202, allocations: 4 kB / 427.6 MB, free: 4.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.718e-05/0.1203, allocations: 3.938 kB / 427.6 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001489/0.1204, allocations: 19.8 kB / 427.7 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.1207, allocations: 27.97 kB / 427.7 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.1208, allocations: 43.91 kB / 427.7 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.1209, allocations: 19.98 kB / 427.7 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.664e-05/0.121, allocations: 11.94 kB / 427.8 MB, free: 3.891 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.016e-05/0.121, allocations: 19.86 kB / 427.8 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.121, allocations: 4 kB / 427.8 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.294e-05/0.1211, allocations: 4 kB / 427.8 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.656e-05/0.1211, allocations: 19.92 kB / 427.8 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.728e-05/0.1212, allocations: 31.73 kB / 427.8 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.1213, allocations: 51.69 kB / 427.9 MB, free: 3.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1213, allocations: 0 / 427.9 MB, free: 3.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1213, allocations: 0 / 427.9 MB, free: 3.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.1213, allocations: 0 / 427.9 MB, free: 3.762 MB / 350.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.0005075/0.1218, allocations: 375.2 kB / 428.3 MB, free: 3.344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.1219, allocations: 8.031 kB / 428.3 MB, free: 3.336 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.815e-05/0.1219, allocations: 46.67 kB / 428.3 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.991e-05/0.1219, allocations: 8.891 kB / 428.3 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.1222, allocations: 197.8 kB / 428.5 MB, free: 3.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.1222, allocations: 8.375 kB / 428.5 MB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.1222, allocations: 4.375 kB / 428.5 MB, free: 3.031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.1225, allocations: 123.9 kB / 428.6 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1225, allocations: 7.938 kB / 428.6 MB, free: 2.891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1225, allocations: 7.984 kB / 428.7 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.1225, allocations: 4 kB / 428.7 MB, free: 2.879 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.274e-05/0.1226, allocations: 15.94 kB / 428.7 MB, free: 2.863 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/0.1228, allocations: 169.6 kB / 428.8 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.1229, allocations: 54.72 kB / 428.9 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.16e-05/0.123, allocations: 40.88 kB / 428.9 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.123, allocations: 8 kB / 428.9 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.123, allocations: 30.56 kB / 429 MB, free: 2.496 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.123, allocations: 3.938 kB / 429 MB, free: 2.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002157/0.1232, allocations: 93.5 kB / 429.1 MB, free: 2.395 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.1233, allocations: 59.41 kB / 429.1 MB, free: 2.324 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.1234, allocations: 130.9 kB / 429.3 MB, free: 2.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.1235, allocations: 29.7 kB / 429.3 MB, free: 2.152 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/0.1235, allocations: 88.14 kB / 429.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.1235, allocations: 7.953 kB / 429.4 MB, free: 2.055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.135e-05/0.1236, allocations: 25.7 kB / 429.4 MB, free: 2.023 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.1237, allocations: 314.8 kB / 429.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.135e-05/0.1237, allocations: 12 kB / 429.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.61e-05/0.1238, allocations: 62.8 kB / 429.8 MB, free: 1.609 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.582e-05/0.1239, allocations: 66.81 kB / 429.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1239, allocations: 4 kB / 429.9 MB, free: 1.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001342/0.124, allocations: 89.44 kB / 429.9 MB, free: 1.422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.124, allocations: 7.938 kB / 429.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.1241, allocations: 4.188 kB / 430 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1241, allocations: 0 / 430 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.198e-05/0.1241, allocations: 20.12 kB / 430 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.1241, allocations: 4 kB / 430 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.241e-05/0.1241, allocations: 3.938 kB / 430 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.1241, allocations: 7.984 kB / 430 MB, free: 1.375 MB / 350.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.0001063/0.1242, allocations: 121.8 kB / 430.1 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.4e-05/0.1243, allocations: 73.52 kB / 430.2 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.353e-05/0.1244, allocations: 12.38 kB / 430.2 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1244, allocations: 0 / 430.2 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.1244, allocations: 4 kB / 430.2 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.1244, allocations: 8 kB / 430.2 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.1245, allocations: 169.6 kB / 430.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1245, allocations: 0 / 430.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.23e-05/0.1245, allocations: 4 kB / 430.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.1245, allocations: 3.938 kB / 430.4 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.1245, allocations: 4 kB / 430.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1245, allocations: 0 / 430.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1245, allocations: 0 / 430.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.1247, allocations: 105 kB / 430.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.23e-05/0.1248, allocations: 93.05 kB / 430.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.1248, allocations: 11.86 kB / 430.6 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.655e-05/0.1248, allocations: 4 kB / 430.6 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-06/0.1248, allocations: 0 / 430.6 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.1248, allocations: 4 kB / 430.6 MB, free: 0.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.025e-05/0.1249, allocations: 100.9 kB / 430.7 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1249, allocations: 0 / 430.7 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002002/0.1251, allocations: 12 kB / 430.7 MB, free: 0.5586 MB / 350.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.0005759/0.1257, allocations: 0.6592 MB / 431.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001308/0.1258, allocations: 39.92 kB / 431.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1258, allocations: 0.5625 kB / 431.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.1e-07/0.1258, allocations: 0 / 431.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.1261, allocations: 58.62 kB / 431.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.1273, allocations: 1.319 MB / 432.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.1277, allocations: 0.7002 MB / 433.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.542e-05/0.1277, allocations: 0 / 433.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.1277, allocations: 19.44 kB / 433.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1277, allocations: 0 / 433.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02245/0.1502, allocations: 1.709 MB / 435.2 MB, free: 11.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.833/7.983, allocations: 14.66 kB / 435.2 MB, free: 11.97 MB / 366.1 MB " [Timeout remaining time 652] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.592720189131796]